hrms-api-recruit/Models/MetaData/District.cs
Suphonchai Phoonsawat cc251f7129 fix
2026-05-12 16:32:46 +07:00

21 lines
730 B
C#

using BMA.EHR.Recruit.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; }
}
}