add product inventory

This commit is contained in:
Aditya Siregar
2025-08-13 21:02:26 +07:00
parent 58dc92c722
commit 9e74d415b3
3 changed files with 12 additions and 0 deletions
@@ -43,6 +43,10 @@ func InventoryModelResponseToResponse(inv *models.InventoryResponse) *contract.I
ReorderLevel: inv.ReorderLevel,
IsLowStock: inv.IsLowStock,
UpdatedAt: inv.UpdatedAt,
Product: &contract.ProductResponse{
ID: inv.ProductID,
Name: inv.ProductName,
},
}
}