Api-PWA/DocuMed.Domain/Entities/User/ApplicationUser.cs

17 lines
686 B
C#
Raw Normal View History

namespace DocuMed.Domain.Entities.User;
2023-10-10 17:02:38 +03:30
[AdaptTwoWays("[name]SDto", IgnoreAttributes = new[] { typeof(AdaptIgnoreAttribute) }, MapType = MapType.Map | MapType.MapToTarget | MapType.Projection)]
[GenerateMapper]
public class ApplicationUser : IdentityUser<Guid>
{
public string FirstName { get; set; } = string.Empty;
public string LastName { get; set; } = string.Empty;
2023-10-19 21:28:09 +03:30
public string NationalId { get; set; } = string.Empty;
2023-10-10 17:02:38 +03:30
public DateTime BirthDate { get; set; }
public Gender Gender { get; set; }
public SignUpStatus SignUpStatus { get; set; }
2023-10-19 21:28:09 +03:30
public List<Student> Students { get; set; } = [];
public List<Patient> Patients { get; set; } = [];
2023-10-10 17:02:38 +03:30
}