diff --git a/IRaCIS.Core.Domain/Dcotor/Doctor.cs b/IRaCIS.Core.Domain/Dcotor/Doctor.cs index 961bebc07..f8903f8eb 100644 --- a/IRaCIS.Core.Domain/Dcotor/Doctor.cs +++ b/IRaCIS.Core.Domain/Dcotor/Doctor.cs @@ -71,7 +71,7 @@ public class Doctor : BaseFullAuditEntity public ContractorStatusEnum CooperateStatus { get; set; } = ContractorStatusEnum.Noncooperation; - public Guid DepartmentId { get; set; } + public Guid? DepartmentId { get; set; } [StringLength(400)] public string DepartmentOther { get; set; } = null!; @@ -89,7 +89,7 @@ public class Doctor : BaseFullAuditEntity public Guid GCPId { get; set; } - public Guid HospitalId { get; set; } + public Guid? HospitalId { get; set; } public string HospitalOther { get; set; } = null!; @@ -139,7 +139,7 @@ public class Doctor : BaseFullAuditEntity [StringLength(400)] public string PositionOtherCN { get; set; } = null!; - public Guid RankId { get; set; } + public Guid? RankId { get; set; } [StringLength(400)] public string RankOther { get; set; } = null!; @@ -165,7 +165,7 @@ public class Doctor : BaseFullAuditEntity public int Sex { get; set; } - public Guid SpecialityId { get; set; } + public Guid? SpecialityId { get; set; } [StringLength(400)] public string SpecialityOther { get; set; } = null!;