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

21 lines
812 B
C#
Raw Normal View History

2023-10-10 17:02:38 +03:30
namespace DocuMed.Domain.Entities.User;
[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-22 15:51:11 +03:30
public string StudentId { 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 Guid? UniversityId { get; set; }
public University? University { get; set; }
2023-10-22 15:51:11 +03:30
public Guid? SectionId { get; set; }
public Section? Section { get; set; }
2023-10-10 17:02:38 +03:30
}