21 lines
738 B
C#
21 lines
738 B
C#
using BMA.EHR.Recruit.Service.Models;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Org.BouncyCastle.Asn1.X509;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace BMA.EHR.MetaData.Service.Models
|
|
{
|
|
public class District : EntityBase
|
|
{
|
|
[Required, MaxLength(150), Column(Order = 1), Comment("เขต/อำเภอ")]
|
|
public string name { get; set; } = string.Empty;
|
|
|
|
// [Column(Order = 2), Comment("สถานะการใช้งาน")]
|
|
// public bool IsActive { get; set; } = true;
|
|
|
|
// public virtual List<SubDistrict> SubDistricts { get; set; } = new();
|
|
|
|
// public virtual Province? Province { get; set; }
|
|
}
|
|
}
|