created loan-orders and created table

This commit is contained in:
2026-07-08 17:07:51 +05:00
parent 77bc4025d3
commit be3dc28e68
10 changed files with 2831 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
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
}