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

12 lines
361 B
Go

package land
import "context"
type Service interface {
Create(ctx context.Context, row *Land) error
Update(ctx context.Context, row *Land) error
Delete(ctx context.Context, id []byte, deletedBy []byte) error
GetByID(ctx context.Context, id []byte) (*Land, error)
List(ctx context.Context, filter, sort string, limit, offset int) ([]Land, int64, error)
}