ExpenseCreateDto.cs
476 bytes
| 1 | namespace App.DTO.v1; |
|---|---|
| 2 | |
| 3 | public class ExpenseCreateDto |
| 4 | { |
| 5 | public Guid TripId { get; set; } |
| 6 | public Guid? PaidByUserId { get; set; } |
| 7 | public Guid? BudgetCategoryId { get; set; } |
| 8 | public Guid? CurrencyId { get; set; } |
| 9 | public decimal Amount { get; set; } |
| 10 | public string? Description { get; set; } |
| 11 | public DateTime ExpenseDate { get; set; } |
| 12 | public string SplitMethod { get; set; } = default!; |
| 13 | public List<ExpenseSplitCreateDto>? Splits { get; set; } |
| 14 | } |
| 15 | |