lookup province, district, subDistrict IDs with parent filtering
All checks were successful
Build & Deploy on Dev / build (push) Successful in 44s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 44s
This commit is contained in:
parent
6f9cde1811
commit
5752f35712
3 changed files with 33 additions and 6 deletions
|
|
@ -11,6 +11,9 @@ namespace BMA.EHR.MetaData.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;
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,9 @@ namespace BMA.EHR.MetaData.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