add product inventory
This commit is contained in:
@@ -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,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user