profileShare

rasmusjy / splitapp-backend-clean-onion

Read-only snapshot

No repository description.

main default branch 429 files Expires Sep 13, 2026, 9:06 AM
TripParticipantBllDto.cs 787 bytes
1 using App.Domain;
2 using Base.Domain;
3
4 namespace App.BLL.DTO;
5
6 public class TripParticipantBllDto
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 Guid UserId { get; set; }
15 public AppUserBllDto? User { get; set; }
16 public string? UserFirstName => User?.FirstName;
17 public string? UserLastName => User?.LastName;
18 public string? UserEmail => User?.Email;
19
20 public EParticipantRole Role { get; set; } = EParticipantRole.Participant;
21 public string? Nickname { get; set; }
22 public DateTime JoinedAt { get; set; }
23 public DateTime? LeftAt { get; set; }
24 public bool IsActive { get; set; } = true;
25 }
26