BudgetCategoryDto.cs
637 bytes
| 1 | namespace SplitApp.Modules.Trips.Api.Dto.v1; |
|---|---|
| 2 | |
| 3 | public class BudgetCategoryDto |
| 4 | { |
| 5 | public Guid Id { get; set; } |
| 6 | public Guid TripId { get; set; } |
| 7 | public string Name { get; set; } = default!; |
| 8 | public string? IconName { get; set; } |
| 9 | public decimal? PlannedAmount { get; set; } |
| 10 | public decimal SpentAmount { get; set; } |
| 11 | public int DisplayOrder { get; set; } |
| 12 | } |
| 13 | |
| 14 | public class BudgetCategoryCreateDto |
| 15 | { |
| 16 | public Guid TripId { get; set; } |
| 17 | public string Name { get; set; } = default!; |
| 18 | public string? IconName { get; set; } |
| 19 | public decimal? PlannedAmount { get; set; } |
| 20 | public int DisplayOrder { get; set; } |
| 21 | } |
| 22 | |