profileShare

rasmusjy / splitapp-backend-clean-onion

Read-only snapshot

No repository description.

main default branch 429 files Expires Sep 13, 2026, 9:06 AM
TripPollBllDto.cs 748 bytes
1 using Base.Domain;
2
3 namespace App.BLL.DTO;
4
5 public class TripPollBllDto
6 {
7 public Guid Id { get; set; }
8 public DateTime CreatedAt { get; set; }
9 public DateTime UpdatedAt { get; set; }
10
11 public Guid TripId { get; set; }
12 public TripBllDto? Trip { get; set; }
13 public string? TripName => Trip?.Name;
14
15 public Guid CreatedByUserId { get; set; }
16 public AppUserBllDto? CreatedByUser { get; set; }
17 public string? CreatedByUserFullName => CreatedByUser?.FullName;
18
19 public string Question { get; set; } = default!;
20 public bool AllowMultipleVotes { get; set; }
21 public bool IsAnonymous { get; set; }
22 public DateTime? ClosedAt { get; set; }
23
24 public ICollection<TripPollOptionBllDto>? Options { get; set; }
25 }
26