changed arhitecture

This commit is contained in:
guwandyk committed 2026-07-15 18:08:19 +05:00
1 parent 7e3a5cebcc
commit 585ba63bc2
95 files changed
+4985 -1360

No files matched your search

+11
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
}