Files
online-backend/internal/cards/visamaster/storage.go
GuwandykA 8795ae2195 Put the user's role and branch on GET /profile, upsert role_user and branch_user on POST, and drop their list endpoints.
Also accept flexible card-order form values, move mock seed under db/mock, and regenerate Swagger.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-22 17:56:07 +05:00

12 lines
485 B
Go

package visamaster
import "context"
type Repository interface {
List(ctx context.Context, filter ListFilter) (ListVisaMasterPaymentOrderDTO, error)
GetByID(ctx context.Context, id int64) (VisaMasterPaymentOrderDTO, error)
Create(ctx context.Context, dto CreateVisaMasterPaymentOrderDTO) (VisaMasterPaymentOrderDTO, error)
Update(ctx context.Context, id int64, dto UpdateVisaMasterPaymentOrderDTO) (VisaMasterPaymentOrderDTO, error)
Delete(ctx context.Context, id int64) error
}