test
This commit is contained in:
parent
183f7e214a
commit
d8520d650f
2 changed files with 6 additions and 6 deletions
|
|
@ -7,8 +7,8 @@ namespace BMA.EHR.MetaData.Service.Models
|
||||||
{
|
{
|
||||||
public class EducationLevel : EntityBase
|
public class EducationLevel : EntityBase
|
||||||
{
|
{
|
||||||
[Required, MaxLength(100), Column(Order = 1), Comment("ระดับการศึกษา")]
|
[MaxLength(255), Column(Order = 1), Comment("ระดับการศึกษา")]
|
||||||
public string name { get; set; } = string.Empty;
|
public string? name { get; set; } = null;
|
||||||
|
|
||||||
// [Column(Order = 2), Comment("สถานะการใช้งาน")]
|
// [Column(Order = 2), Comment("สถานะการใช้งาน")]
|
||||||
// public bool IsActive { get; set; } = true;
|
// public bool IsActive { get; set; } = true;
|
||||||
|
|
|
||||||
|
|
@ -8,11 +8,11 @@ namespace BMA.EHR.MetaData.Service.Models
|
||||||
{
|
{
|
||||||
public class SubDistrict : EntityBase
|
public class SubDistrict : EntityBase
|
||||||
{
|
{
|
||||||
[Required, MaxLength(150), Column(Order = 1), Comment("เขต/อำเภอ")]
|
[MaxLength(255), Column(Order = 1), Comment("แขวง")]
|
||||||
public string name { get; set; } = string.Empty;
|
public string? name { get; set; } = null;
|
||||||
|
|
||||||
[Required, MaxLength(10), Column(Order = 2), Comment("รหัสไปรษณีย์")]
|
[MaxLength(10), Column(Order = 2), Comment("รหัสไปรษณีย์")]
|
||||||
public string zipCode { get; set; } = string.Empty;
|
public string? zipCode { get; set; } = null;
|
||||||
|
|
||||||
// [Column(Order = 3), Comment("สถานะการใช้งาน")]
|
// [Column(Order = 3), Comment("สถานะการใช้งาน")]
|
||||||
// public bool IsActive { get; set; } = true;
|
// public bool IsActive { get; set; } = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue