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

19 lines
703 B
C#
Raw Normal View History

2024-09-28 12:34:36 +03:30
using DocuMed.Domain.Entities.Patients;
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
2024-09-28 12:34:36 +03:30
public Student? Student { get; set; }
public Patient? Patient { get; set; }
2023-10-10 17:02:38 +03:30
}