19 lines
814 B
C#
19 lines
814 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 PositionEmployeePositionSide : 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;
|
|
|
|
[Column(Order = 3), Comment("หมายเหตุ")]
|
|
public string Note { get; set; } = string.Empty;
|
|
}
|
|
}
|