Files
online-backend/internal/lending/loanorders/storage.go
2026-07-15 18:08:19 +05:00

12 lines
407 B
Go

package loanorders
import "context"
type Repository interface {
List(ctx context.Context, filter ListFilter) (ListLoanOrderDTO, error)
GetByID(ctx context.Context, id int64) (LoanOrderDTO, error)
Create(ctx context.Context, dto CreateLoanOrderDTO) (LoanOrderDTO, error)
Update(ctx context.Context, id int64, dto UpdateLoanOrderDTO) (LoanOrderDTO, error)
Delete(ctx context.Context, id int64) error
}