using System; using System.ComponentModel.DataAnnotations; using BMA.EHR.Domain.Models.Base; using Microsoft.EntityFrameworkCore; namespace BMA.EHR.Domain.Models.HR { public class ProfileAbility : EntityBase { [Comment("ด้าน")] /// /// ด้าน (ใช้เฉพาะ ความสามารถพิเศษ) /// public string? Field { get; set; } [Comment("รายละเอียด")] /// /// รายละเอียด /// public string? Detail { get; set; } [Comment("หมายเหตุ")] /// /// หมายเหตุ /// public string? Remark { get; set; } [Comment("วันที่เริ่มต้น")] /// /// วันที่เริ่มต้น /// public DateTime? DateStart { get; set; } [Comment("วันที่สิ้นสุด")] /// /// วันที่สิ้นสุด /// public DateTime? DateEnd { get; set; } [Comment("เอกสารอ้างอิง")] /// /// เอกสารอ้างอิง /// public string? Reference { get; set; } // public string? Side { get; set; } // public string? Detail { get; set; } // public string? Note { get; set; } public virtual List ProfileAbilityHistorys { get; set; } = new List(); public virtual Profile? Profile { get; set; } } }