Files
online-backend/internal/cards/cardbalance/storage.go
GuwandykA 28509eb4ca
Some checks failed
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
Add backups, currencies and dashboard APIs, and scope access by guard_name.
Web users may only CRUD their own records, operators stay in assigned branches, and admin/manager/superadmin keep full access.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 18:14:47 +05:00

12 lines
420 B
Go

package cardbalance
import "context"
type Repository interface {
List(ctx context.Context, filter ListFilter) (ListCardBalanceDTO, error)
GetByID(ctx context.Context, id int64) (CardBalanceDTO, error)
Create(ctx context.Context, dto CreateCardBalanceDTO) (CardBalanceDTO, error)
Update(ctx context.Context, id int64, dto UpdateCardBalanceDTO) (CardBalanceDTO, error)
Delete(ctx context.Context, id int64) error
}