using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using BMA.EHR.Domain.Models.Base; using System.ComponentModel.DataAnnotations.Schema; using BMA.EHR.Domain.Models.MetaData; using BMA.EHR.Domain.Models.HR; using BMA.EHR.Domain.Models.Documents; using BMA.EHR.Domain.Models.Organizations; namespace BMA.EHR.Domain.Models.Insignias { public class InsigniaNoteProfile : EntityBase { public DateTime? RequestDate { get; set; } public double? Salary { get; set; } public bool IsApprove { get; set; } = false; [Comment("สถานะตำแหน่งที่ยื่นขอ")] public string Status { get; set; } = "PENDING"; [Comment("หมายเลขประกาศนียบัตรกำกับเครื่องราชฯ")] public string? Number { get; set; } [Comment("วันที่ได้รับพระราชทานเครื่องราชฯ")] public DateTime? DateReceive { get; set; } [Comment("สังกัด ณ วันที่ขอพระราชทานเครื่องราชฯ")] public string? OrganizationOrganizationSend { get; set; } [Comment("สังกัด ณ วันที่ได้รับพระราชทานเครื่องราชฯ")] public string? OrganizationOrganizationReceive { get; set; } [Comment("วันที่")] public DateTime? Date { get; set; } [Comment("เล่มที่")] public string? VolumeNo { get; set; } [Comment("ตอนที่")] public string? Section { get; set; } [Comment("หน้าที่")] public string? Page { get; set; } [Comment("ลำดับที่")] public string? No { get; set; } [Comment("วันที่จ่ายใบกำกับ")] public DateTime? DatePayment { get; set; } [Comment("รูปแบบการจ่าย")] public string? TypePayment { get; set; } [Comment("ที่อยู่ที่จ่าย")] public string? Address { get; set; } [Comment("ทะเบียนฐานันดร")] public string? Issue { get; set; } [Comment("วันที่รับเครื่องราชฯ")] public DateTime? DateReceiveInsignia { get; set; } [Comment("หลักฐานรับเครื่องราชฯ")] public Document? DocReceiveInsignia { get; set; } [Comment("หน่วยงานรับเครื่องราชฯ")] public OrganizationEntity? OrgReceiveInsignia { get; set; } [Comment("วันที่คืนเครื่องราชฯ")] public DateTime? DateReturnInsignia { get; set; } [Comment("หลักฐานคืนเครื่องราชฯ")] public Document? DocReturnInsignia { get; set; } [Comment("หน่วยงานคืนเครื่องราชฯ")] public OrganizationEntity? OrgReturnInsignia { get; set; } public Profile Profile { get; set; } public Insignia RequestInsignia { get; set; } public InsigniaNote InsigniaNote { get; set; } } }