ExpenseDto.cs
745 bytes
| 1 | namespace App.DTO.v1; |
|---|---|
| 2 | |
| 3 | public class ExpenseDto |
| 4 | { |
| 5 | public Guid Id { get; set; } |
| 6 | public Guid TripId { get; set; } |
| 7 | public Guid PaidByUserId { get; set; } |
| 8 | public string? PaidByUserName { get; set; } |
| 9 | public Guid? BudgetCategoryId { get; set; } |
| 10 | public string? BudgetCategoryName { get; set; } |
| 11 | public Guid? CurrencyId { get; set; } |
| 12 | public string? CurrencyCode { get; set; } |
| 13 | public string? CurrencySymbol { get; set; } |
| 14 | public decimal Amount { get; set; } |
| 15 | public decimal? AmountInTripCurrency { get; set; } |
| 16 | public string? Description { get; set; } |
| 17 | public DateTime ExpenseDate { get; set; } |
| 18 | public string SplitMethod { get; set; } = default!; |
| 19 | public List<ExpenseSplitDto>? Splits { get; set; } |
| 20 | } |
| 21 | |