TripDto.cs
667 bytes
| 1 | namespace App.DTO.v1; |
|---|---|
| 2 | |
| 3 | public class TripDto |
| 4 | { |
| 5 | public Guid Id { get; set; } |
| 6 | public string Name { get; set; } = default!; |
| 7 | public string? Description { get; set; } |
| 8 | public string? Destination { get; set; } |
| 9 | public DateTime? StartDate { get; set; } |
| 10 | public DateTime? EndDate { get; set; } |
| 11 | public string Status { get; set; } = default!; |
| 12 | public Guid DefaultCurrencyId { get; set; } |
| 13 | public string? DefaultCurrencyCode { get; set; } |
| 14 | public string? DefaultCurrencySymbol { get; set; } |
| 15 | public Guid CreatedById { get; set; } |
| 16 | public int ParticipantCount { get; set; } |
| 17 | public List<TripParticipantDto>? Participants { get; set; } |
| 18 | } |
| 19 | |