แก้ model profile
This commit is contained in:
parent
6a0d548f22
commit
da20b8c64e
7 changed files with 112 additions and 6 deletions
|
|
@ -61,6 +61,11 @@ namespace BMA.EHR.Domain.Models.HR
|
|||
public string? CoupleLastNameOld { get; set; }
|
||||
[MaxLength(100), Comment("อาชีพคู่สมรส")]
|
||||
public string? CoupleCareer { get; set; }
|
||||
[MaxLength(20), Comment("เลขที่บัตรประชาชนคู่สมรส")]
|
||||
public string? CoupleCitizenId { get; set; }
|
||||
|
||||
[Comment("มีชีวิตคู่สมรส")]
|
||||
public bool CoupleLive { get; set; } = true;
|
||||
[Comment("Id คำนำหน้าบิดา")]
|
||||
public Guid? FatherPrefixId { get; set; }
|
||||
[MaxLength(100), Comment("ชื่อบิดา")]
|
||||
|
|
@ -71,6 +76,11 @@ namespace BMA.EHR.Domain.Models.HR
|
|||
|
||||
[MaxLength(100), Comment("อาชีพบิดา")]
|
||||
public string? FatherCareer { get; set; }
|
||||
[MaxLength(20), Comment("เลขที่บัตรประชาชนบิดา")]
|
||||
public string? FatherCitizenId { get; set; }
|
||||
|
||||
[Comment("มีชีวิตบิดา")]
|
||||
public bool FatherLive { get; set; } = true;
|
||||
[Comment("Id คำนำหน้ามารดา")]
|
||||
public Guid? MotherPrefixId { get; set; }
|
||||
|
||||
|
|
@ -82,6 +92,11 @@ namespace BMA.EHR.Domain.Models.HR
|
|||
|
||||
[MaxLength(100), Comment("อาชีพมารดา")]
|
||||
public string? MotherCareer { get; set; }
|
||||
[MaxLength(20), Comment("เลขที่บัตรประชาชนมารดา")]
|
||||
public string? MotherCitizenId { get; set; }
|
||||
|
||||
[Comment("มีชีวิตมารดา")]
|
||||
public bool MotherLive { get; set; } = true;
|
||||
[MaxLength(200), Comment("ที่อยู่ปัจจุบัน")]
|
||||
public string? CurrentAddress { get; set; }
|
||||
[Comment("Id แขวงปัจจุบัน")]
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ namespace BMA.EHR.Domain.Models.HR
|
|||
// public string? CertiNumber { get; set; }
|
||||
// public DateTime? Start { get; set; }
|
||||
// public DateTime? End { get; set; }
|
||||
public bool IsActive { get; set; } = true;
|
||||
public virtual List<ProfileCertificateHistory> ProfileCertificateHistorys { get; set; } = new List<ProfileCertificateHistory>();
|
||||
public virtual Profile? Profile { get; set; }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ namespace BMA.EHR.Domain.Models.HR
|
|||
public string? PositionPath { get; set; }
|
||||
[Comment("Id เป็นวุฒิการศึกษาในตำแหน่ง")]
|
||||
public Guid? PositionPathId { get; set; }
|
||||
public bool IsActive { get; set; } = true;
|
||||
public virtual List<ProfileEducationHistory> ProfileEducationHistorys { get; set; } = new List<ProfileEducationHistory>();
|
||||
public virtual Profile? Profile { get; set; }
|
||||
|
||||
|
|
|
|||
|
|
@ -60,5 +60,6 @@ namespace BMA.EHR.Domain.Models.HR
|
|||
|
||||
[Comment("ประเภทคำสั่ง")]
|
||||
public string CommandTypeName { get; set; }
|
||||
public bool IsActive { get; set; } = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue