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

12 lines
434 B
Go

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