using LSFE.Infrastructure.Entities.Maintenance; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LSFE.Infrastructure.Entities.Doctor { [Table("Doctors")] public class Doctor : BaseLogEntity { [Key] public int DoctorId { get; set; } public string? MiddleInitial { get; set; } public string? LastName { get; set; } public string? FirstName { get; set; } public byte MaxVisit { get; set; } public byte SpecializationId { get; set; } public string? UserId { get; set; } public byte StageLevelId { get; set; } public DateTime? BirthDate { get; set; } public string? EmailAddress { get; set; } public string? LicenseNo { get; set; } public string? PhoneNo { get; set; } public int InstitutionId { get; set; } [ForeignKey(nameof(InstitutionId))] public Institutions? Institution { get; set; } public byte Status { get; set; } public bool IsActive { get; set; } public bool IsTerritorial { get; set; } public string? Address { get; set; } public int? DistrictId { get; set; } [ForeignKey(nameof(DistrictId))] public Districts? Districts { get; set; } } }