16 lines
578 B
C#
16 lines
578 B
C#
using BMA.EHR.Domain.Models.Base;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace BMA.EHR.Domain.Models.MetaData
|
|
{
|
|
public class Prefix : EntityBase
|
|
{
|
|
[Required, MaxLength(50), Column(Order = 2), Comment("รายละเอียดคำนำหน้า")]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
[Column(Order = 3), Comment("สถานะการใช้งาน")]
|
|
public bool IsActive { get; set; } = true;
|
|
}
|
|
}
|