http-api/src/Domain/Entities/Account.cs
cuqmbr 120963f3cc
All checks were successful
/ tests (push) Successful in 26s
/ build (push) Successful in 10m28s
/ build-docker (push) Successful in 5m49s
add optional ticket group binding to account
2025-05-30 16:40:28 +03:00

24 lines
547 B
C#

namespace cuqmbr.TravelGuide.Domain.Entities;
public sealed class Account : EntityBase
{
public string Username { get; set; }
public string Email { get; set; }
public string PasswordHash { get; set; }
public string PasswordSalt { get; set; }
public ICollection<AccountRole> AccountRoles { get; set; }
public ICollection<RefreshToken> RefreshTokens { get; set; }
public Employee? Employee { get; set; }
public Company? Company { get; set; }
public ICollection<TicketGroup> TicketGroups { get; set; }
}