add product ingredients
This commit is contained in:
@@ -1,16 +1 @@
|
||||
package processor
|
||||
|
||||
import (
|
||||
"apskel-pos-be/internal/entities"
|
||||
"context"
|
||||
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
type UnitRepository interface {
|
||||
Create(ctx context.Context, unit *entities.Unit) error
|
||||
GetByID(ctx context.Context, id, organizationID uuid.UUID) (*entities.Unit, error)
|
||||
GetAll(ctx context.Context, organizationID uuid.UUID, outletID *uuid.UUID, page, limit int, search string) ([]*entities.Unit, int, error)
|
||||
Update(ctx context.Context, unit *entities.Unit) error
|
||||
Delete(ctx context.Context, id, organizationID uuid.UUID) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user