hrms-api-recruit/Models/MetaData/Province.cs
2025-01-05 21:59:00 +07:00

18 lines
634 B
C#

using BMA.EHR.Recruit.Service.Models;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BMA.EHR.MetaData.Service.Models
{
public class Province : 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<District> Districts { get; set; } = new();
}
}