Skip to content

Commit

Permalink
chore(Inventories): add json property attribute to DTO
Browse files Browse the repository at this point in the history
INFSCP01-18
  • Loading branch information
Sharif-C committed Dec 2, 2024
1 parent 6c85bd6 commit 82315d9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion api/DTOs/InventoryDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,20 @@ public class InventoryResponse : BaseDTO

[JsonPropertyName("updated_at")]
public DateTime? UpdatedAt { get; set; }


[JsonPropertyName("total_on_hand")]
public int? TotalOnHand { get; set; }

[JsonPropertyName("total_expected")]
public int? TotalExpected { get; set; }

[JsonPropertyName("total_ordered")]
public int? TotalOrdered { get; set; }

[JsonPropertyName("total_allocated")]
public int? TotalAllocated { get; set; }

[JsonPropertyName("total_available")]
public int? TotalAvailable { get; set; }
}

Expand Down

0 comments on commit 82315d9

Please sign in to comment.