init push
This commit is contained in:
11
internal/domain/base/service.go
Normal file
11
internal/domain/base/service.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package base
|
||||
|
||||
import "context"
|
||||
|
||||
type Service interface {
|
||||
CreateBase(ctx context.Context, row *Base, categoryType string) error
|
||||
UpdateBase(ctx context.Context, row *Base, categoryType string) error
|
||||
DeleteBase(ctx context.Context, id []byte, categoryType string) (*Base, error)
|
||||
GetBaseByID(ctx context.Context, id []byte, categoryType string) (*Base, error)
|
||||
ListBases(ctx context.Context, filter, sort string, limit, offset int, categoryType string, dul *bool) ([]Base, int64, error)
|
||||
}
|
||||
Reference in New Issue
Block a user