package contract

import (
	"apskel-pos-be/internal/models"

	"github.com/google/uuid"
)

type UnitContract interface {
	Create(request *models.CreateUnitRequest, organizationID uuid.UUID) (*models.UnitResponse, error)
	GetByID(id uuid.UUID, organizationID uuid.UUID) (*models.UnitResponse, error)
	GetAll(organizationID uuid.UUID, outletID *uuid.UUID, page, limit int, search string) (*models.PaginatedResponse[models.UnitResponse], error)
	Update(id uuid.UUID, request *models.UpdateUnitRequest, organizationID uuid.UUID) (*models.UnitResponse, error)
	Delete(id uuid.UUID, organizationID uuid.UUID) error
}
