This commit is contained in:
Aditya Siregar
2025-08-03 00:34:25 +07:00
parent a759e0f57c
commit 96743cf50b
25 changed files with 2049 additions and 2141 deletions
+1 -4
View File
@@ -1,12 +1,10 @@
package contract
import (
"time"
"github.com/google/uuid"
"time"
)
// Inventory Request DTOs
type CreateInventoryRequest struct {
OutletID uuid.UUID `json:"outlet_id" validate:"required"`
ProductID uuid.UUID `json:"product_id" validate:"required"`
@@ -37,7 +35,6 @@ type ListInventoryRequest struct {
Limit int `json:"limit" validate:"required,min=1,max=100"`
}
// Inventory Response DTOs
type InventoryResponse struct {
ID uuid.UUID `json:"id"`
OutletID uuid.UUID `json:"outlet_id"`