Files
fm_be/internal/domain/takeover/service.go
2026-07-16 22:16:45 +07:00

13 lines
451 B
Go

package takeover
import "context"
type Service interface {
Create(ctx context.Context, row *TakeoverAc) error
Update(ctx context.Context, row *TakeoverAc) error
Delete(ctx context.Context, id []byte, deletedBy []byte) error
GetByID(ctx context.Context, id []byte) (*TakeoverAc, error)
List(ctx context.Context, limit, offset int) ([]TakeoverAc, int64, error)
AttachFile(ctx context.Context, takeoverID []byte, fileAttachmentID []byte) error
}