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