16 lines
572 B
C#
16 lines
572 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using BMA.EHR.Domain.Models.Base;
|
|
|
|
namespace BMA.EHR.Domain.Models.MetaData
|
|
{
|
|
public class PhysicalStatus : EntityBase
|
|
{
|
|
[Required, MaxLength(100), Column(Order = 1), Comment("สถานภาพทางกาย")]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
[Column(Order = 2), Comment("สถานะการใช้งาน")]
|
|
public bool IsActive { get; set; } = true;
|
|
}
|
|
}
|