TripWishlistItemBllDto.cs
1,064 bytes
| 1 | using App.Domain; |
|---|---|
| 2 | using Base.Domain; |
| 3 | |
| 4 | namespace App.BLL.DTO; |
| 5 | |
| 6 | public class TripWishlistItemBllDto |
| 7 | { |
| 8 | public Guid Id { get; set; } |
| 9 | public DateTime CreatedAt { get; set; } |
| 10 | public DateTime UpdatedAt { get; set; } |
| 11 | |
| 12 | public Guid TripId { get; set; } |
| 13 | public TripBllDto? Trip { get; set; } |
| 14 | public string? TripName => Trip?.Name; |
| 15 | |
| 16 | public Guid AddedByUserId { get; set; } |
| 17 | public AppUserBllDto? AddedByUser { get; set; } |
| 18 | public string? AddedByUserFullName => AddedByUser?.FullName; |
| 19 | |
| 20 | public string Title { get; set; } = default!; |
| 21 | public string? Description { get; set; } |
| 22 | public EWishlistCategory Category { get; set; } |
| 23 | public EWishlistPriority Priority { get; set; } |
| 24 | public decimal? EstimatedCost { get; set; } |
| 25 | public string? Url { get; set; } |
| 26 | public string? Location { get; set; } |
| 27 | public bool IsCompleted { get; set; } |
| 28 | public DateTime? CompletedAt { get; set; } |
| 29 | public int DisplayOrder { get; set; } |
| 30 | |
| 31 | public int VoteCount { get; set; } |
| 32 | public List<Guid> VoterUserIds { get; set; } = new(); |
| 33 | } |
| 34 | |