lookup province, district, subDistrict IDs with parent filtering
This commit is contained in:
parent
b11f64143d
commit
0ab3445ad0
3 changed files with 34 additions and 6 deletions
|
|
@ -9,6 +9,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
|
|||
[Required, MaxLength(150), Column(Order = 1), Comment("เขต/อำเภอ")]
|
||||
public string name { get; set; } = string.Empty;
|
||||
|
||||
[Column(Order = 2), Comment("รหัสอ้างอิงจังหวัด")]
|
||||
public Guid? provinceId { get; set; } = null;
|
||||
|
||||
// [Column(Order = 2), Comment("สถานะการใช้งาน")]
|
||||
// public bool IsActive { get; set; } = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
|
|||
[MaxLength(10), Column(Order = 2), Comment("รหัสไปรษณีย์")]
|
||||
public string? zipCode { get; set; } = null;
|
||||
|
||||
[Column(Order = 3), Comment("รหัสอ้างอิงอำเภอ")]
|
||||
public Guid? districtId { get; set; } = null;
|
||||
|
||||
// [Column(Order = 3), Comment("สถานะการใช้งาน")]
|
||||
// public bool IsActive { get; set; } = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue