11 lines
361 B
Go
11 lines
361 B
Go
package paymenttexts
|
|
|
|
import "context"
|
|
|
|
type Repository interface {
|
|
List(ctx context.Context, filter ListFilter) (ListPaymentTextDTO, error)
|
|
GetByCode(ctx context.Context, code string) (PaymentTextDTO, error)
|
|
Update(ctx context.Context, code string, dto UpdatePaymentTextDTO) (PaymentTextDTO, error)
|
|
Delete(ctx context.Context, code string) (bool, error)
|
|
}
|