2025-01-12 11:22:32 +03:30
|
|
|
|
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
|
|
|
|
|
2025-01-12 11:22:32 +03:30
|
|
|
|
public List<Student> Students { get; set; } = [];
|
|
|
|
|
|
public List<Patient> Patients { get; set; } = [];
|
2023-10-10 17:02:38 +03:30
|
|
|
|
}
|