16 lines
637 B
C#
16 lines
637 B
C#
|
|
using Microsoft.EntityFrameworkCore;
|
|||
|
|
using System.ComponentModel.DataAnnotations;
|
|||
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
|
|
|||
|
|
namespace BMA.EHR.MetaData.Service.Models
|
|||
|
|
{
|
|||
|
|
public class OrganizationAgency : 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;
|
|||
|
|
}
|
|||
|
|
}
|