โอนคนสรรหาไปบรรจุ
This commit is contained in:
parent
49d6f1eb41
commit
1a832061a9
49 changed files with 1725 additions and 765 deletions
22
Models/MetaData/SubDistrict.cs
Normal file
22
Models/MetaData/SubDistrict.cs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
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 SubDistrict : EntityBase
|
||||
{
|
||||
[Required, MaxLength(150), Column(Order = 1), Comment("เขต/อำเภอ")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
[Required, MaxLength(10), Column(Order = 2), Comment("รหัสไปรษณีย์")]
|
||||
public string ZipCode { get; set; } = string.Empty;
|
||||
|
||||
[Column(Order = 3), Comment("สถานะการใช้งาน")]
|
||||
public bool IsActive { get; set; } = true;
|
||||
|
||||
public virtual District? District { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue