12 lines
441 B
Go
12 lines
441 B
Go
package loanpaidletter
|
|
|
|
import "context"
|
|
|
|
type Repository interface {
|
|
List(ctx context.Context, filter ListFilter) (ListLoanPaidLetterDTO, error)
|
|
GetByID(ctx context.Context, id int64) (LoanPaidLetterDTO, error)
|
|
Create(ctx context.Context, dto CreateLoanPaidLetterDTO) (LoanPaidLetterDTO, error)
|
|
Update(ctx context.Context, id int64, dto UpdateLoanPaidLetterDTO) (LoanPaidLetterDTO, error)
|
|
Delete(ctx context.Context, id int64) error
|
|
}
|