20 lines
708 B
C#
20 lines
708 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace BMA.EHR.Recurit.Exam.Service.Models
|
|
{
|
|
public class SubDistrict : EntityBase
|
|
{
|
|
[MaxLength(255), Column(Order = 1), Comment("แขวง")]
|
|
public string? name { get; set; } = null;
|
|
|
|
[MaxLength(10), Column(Order = 2), Comment("รหัสไปรษณีย์")]
|
|
public string? zipCode { get; set; } = null;
|
|
|
|
// [Column(Order = 3), Comment("สถานะการใช้งาน")]
|
|
// public bool IsActive { get; set; } = true;
|
|
|
|
// public virtual District? District { get; set; }
|
|
}
|
|
}
|