init push
This commit is contained in:
12
internal/domain/takeover/service.go
Normal file
12
internal/domain/takeover/service.go
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user