using System.ComponentModel.DataAnnotations; using Microsoft.EntityFrameworkCore; using BMA.EHR.Domain.Models.Base; namespace BMA.EHR.Domain.Models.HR { public class ProfileInsigniaHistory : EntityBase { [Comment("ปีที่ยื่นขอ")] public int Year { get; set; } [MaxLength(20), Comment("ลำดับที่")] public string? No { get; set; } [MaxLength(300), Comment("ราชกิจจาฯ ฉบับที่")] public string? Issue { get; set; } [MaxLength(30), Comment("เล่มที่")] public string? VolumeNo { get; set; } [MaxLength(30), Comment("เล่ม")] public string? Volume { get; set; } [MaxLength(30), Comment("ตอน")] public string? Section { get; set; } [MaxLength(30), Comment("หน้า")] public string? Page { get; set; } [Comment("วันที่ประกาศในราชกิจจาฯ")] public DateTime? DateAnnounce { get; set; } [Comment("ลงวันที่")] public DateTime? ReceiveDate { get; set; } [Comment("ประเภท")] public string? InsigniaType { get; set; } [Comment("ชื่อเครื่องราชฯ")] public string? Insignia { get; set; } public Guid? InsigniaId { get; set; } public virtual ProfileInsignia? ProfileInsignia { get; set; } } }