19 lines
703 B
C#
19 lines
703 B
C#
using DocuMed.Domain.Entities.Patients;
|
|
|
|
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;
|
|
public string NationalId { get; set; } = string.Empty;
|
|
public DateTime BirthDate { get; set; }
|
|
public Gender Gender { get; set; }
|
|
public SignUpStatus SignUpStatus { get; set; }
|
|
|
|
public Student? Student { get; set; }
|
|
public Patient? Patient { get; set; }
|
|
}
|