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

12 lines
356 B
Go

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