ปรับ api เข้ากับ โครงสร้างใหม่
This commit is contained in:
parent
8851ac6db0
commit
811fa781b4
20 changed files with 1397 additions and 73 deletions
|
|
@ -11,13 +11,13 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
[Comment("Id บรรจุ")]
|
||||
public Placement? Placement { get; set; }
|
||||
[Comment("Id คำนำหน้า")]
|
||||
public Prefix? Prefix { get; set; }
|
||||
public string? Prefix { get; set; }
|
||||
[Comment("ชื่อ")]
|
||||
public string? Firstname { get; set; }
|
||||
[Comment("นามสกุล")]
|
||||
public string? Lastname { get; set; }
|
||||
[Comment("Id เพศ")]
|
||||
public Gender? Gender { get; set; }
|
||||
public string? Gender { get; set; }
|
||||
|
||||
[Comment("Id ตำแหน่งที่สอบได้")]
|
||||
public PositionPath? PositionCandidate { get; set; }
|
||||
|
|
@ -62,11 +62,11 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public DateTime? DateOfBirth { get; set; }
|
||||
|
||||
[Comment("Id สถานภาพ")]
|
||||
public Relationship? Relationship { get; set; }
|
||||
public string? Relationship { get; set; }
|
||||
// [Comment("Id กลุ่มเลือด")]
|
||||
// public BloodGroup? BloodGroup { get; set; }
|
||||
[Comment("Id ศาสนา")]
|
||||
public Religion? Religion { get; set; }
|
||||
public string? Religion { get; set; }
|
||||
|
||||
[MaxLength(200), Comment("อีเมล")]
|
||||
public string? Email { get; set; }
|
||||
|
|
@ -75,10 +75,10 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public string? CitizenId { get; set; }
|
||||
|
||||
[Comment("Id เขตที่ออกบัตรประชาชน")]
|
||||
public District? CitizenDistrict { get; set; }
|
||||
public string? CitizenDistrictId { get; set; }
|
||||
|
||||
[Comment("Id จังหวัดที่ออกบัตรประชาชน")]
|
||||
public Province? CitizenProvince { get; set; }
|
||||
public string? CitizenProvinceId { get; set; }
|
||||
|
||||
[Comment("วันที่ออกบัตร")]
|
||||
public DateTime? CitizenDate { get; set; }
|
||||
|
|
@ -96,13 +96,13 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public string? RegistAddress { get; set; }
|
||||
|
||||
[Comment("Id จังหวัดที่อยู่ตามทะเบียนบ้าน")]
|
||||
public Province? RegistProvince { get; set; }
|
||||
public string? RegistProvinceId { get; set; }
|
||||
|
||||
[Comment("Id อำเภอที่อยู่ตามทะเบียนบ้าน")]
|
||||
public District? RegistDistrict { get; set; }
|
||||
public string? RegistDistrictId { get; set; }
|
||||
|
||||
[Comment("Id ตำบลที่อยู่ตามทะเบียนบ้าน")]
|
||||
public SubDistrict? RegistSubDistrict { get; set; }
|
||||
public string? RegistSubDistrictId { get; set; }
|
||||
|
||||
[MaxLength(10), Comment("รหัสไปรษณีย์ที่อยู่ตามทะเบียนบ้าน")]
|
||||
public string? RegistZipCode { get; set; }
|
||||
|
|
@ -114,13 +114,13 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public string? CurrentAddress { get; set; }
|
||||
|
||||
[Comment("Id จังหวัดที่อยู่ปัจจุบัน")]
|
||||
public Province? CurrentProvince { get; set; }
|
||||
public string? CurrentProvinceId { get; set; }
|
||||
|
||||
[Comment("Id อำเภอที่อยู่ปัจจุบัน")]
|
||||
public District? CurrentDistrict { get; set; }
|
||||
public string? CurrentDistrictId { get; set; }
|
||||
|
||||
[Comment("Id ตำบลที่อยู่ปัจจุบัน")]
|
||||
public SubDistrict? CurrentSubDistrict { get; set; }
|
||||
public string? CurrentSubDistrictId { get; set; }
|
||||
|
||||
[MaxLength(10), Comment("รหัสไปรษณีย์ที่อยู่ปัจจุบัน")]
|
||||
public string? CurrentZipCode { get; set; }
|
||||
|
|
@ -129,7 +129,7 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public bool? Marry { get; set; }
|
||||
|
||||
[Comment("Id คำนำหน้าชื่อคู่สมรส")]
|
||||
public Prefix? MarryPrefix { get; set; }
|
||||
public string? MarryPrefix { get; set; }
|
||||
|
||||
[MaxLength(100), Comment("ชื่อจริงคู่สมรส")]
|
||||
public string? MarryFirstName { get; set; }
|
||||
|
|
@ -144,7 +144,7 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public string? MarryNationality { get; set; }
|
||||
|
||||
[Comment("Id คำนำหน้าชื่อบิดา")]
|
||||
public Prefix? FatherPrefix { get; set; }
|
||||
public string? FatherPrefix { get; set; }
|
||||
|
||||
[MaxLength(100), Comment("ชื่อจริงบิดา")]
|
||||
public string? FatherFirstName { get; set; }
|
||||
|
|
@ -159,7 +159,7 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public string? FatherNationality { get; set; }
|
||||
|
||||
[Comment("Id คำนำหน้าชื่อมารดา")]
|
||||
public Prefix? MotherPrefix { get; set; }
|
||||
public string? MotherPrefix { get; set; }
|
||||
|
||||
[MaxLength(100), Comment("ชื่อจริงมารดา")]
|
||||
public string? MotherFirstName { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue