using Section = DocuMed.Domain.Entities.Hospitals.Section; namespace DocuMed.Domain.Entities.Staffs; [AdaptTwoWays("[name]SDto", IgnoreAttributes = new[] { typeof(AdaptIgnoreAttribute) }, MapType = MapType.Map | MapType.MapToTarget | MapType.Projection)] [GenerateMapper] public partial class Student : ApiEntity { public Student() { } public Student(Guid universityId, Guid sectionId, Guid userId) { UniversityId = universityId; SectionId = sectionId; UserId = userId; } public string StudentId { get; set; } = string.Empty; public Guid UniversityId { get; internal set; } public University? University { get; internal set; } public Guid SectionId { get; internal set; } public Section? Section { get; internal set; } public Guid UserId { get; internal set; } public ApplicationUser? User { get; internal set; } }