hrms-api-backend/BMA.EHR.Domain/Models/Insignias/InsigniaNoteProfile.cs
2025-02-05 17:48:58 +07:00

99 lines
4.9 KiB
C#

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 string? OrgReceiveInsignia { get; set; }
[Comment("หน่วยงานรับเครื่องราชฯ")]
public Guid? OrgReceiveInsigniaId { get; set; }
[Comment("วันที่คืนเครื่องราชฯ")]
public DateTime? DateReturnInsignia { get; set; }
[Comment("หลักฐานคืนเครื่องราชฯ")]
public Document? DocReturnInsignia { get; set; }
[Comment("หน่วยงานคืนเครื่องราชฯ")]
public string? OrgReturnInsignia { get; set; }
[Comment("หน่วยงานคืนเครื่องราชฯ")]
public Guid? OrgReturnInsigniaId { get; set; }
public Guid? ProfileId { get; set; }
//public Profile Profile { get; set; }
public Insignia RequestInsignia { get; set; }
public InsigniaNote InsigniaNote { get; set; }
public string? Prefix { get; set; }
public string? FirstName { get; set; }
public string? LastName { get; set; }
public string? CitizenId { get; set; }
public DateTime? BirthDate { get; set; }
public DateTime? DateAppoint { get; set; }
public string? Position { get; set; }
public string? ProfileType { get; set; }
public string? Gender { get; set; }
public string? PosTypeName { get; set; }
public string? PosLevelName { get; set; }
public string? PosNo { get; set; }
public double? Amount { get; set; }
public double? PositionSalaryAmount { get; set; }
public Guid? RootId { get; set; }
public Guid? RootDnaId { get; set; }
public string? Root { get; set; }
public Guid? Child1Id { get; set; }
public Guid? Child1DnaId { get; set; }
public string? Child1 { get; set; }
public Guid? Child2Id { get; set; }
public Guid? Child2DnaId { get; set; }
public string? Child2 { get; set; }
public Guid? Child3Id { get; set; }
public Guid? Child3DnaId { get; set; }
public string? Child3 { get; set; }
public Guid? Child4Id { get; set; }
public Guid? Child4DnaId { get; set; }
public string? Child4 { get; set; }
}
}