hrms-api-backend/BMA.EHR.Domain/Models/Insignias/InsigniaNoteProfile.cs

47 lines
2.4 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;
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; }
public Profile Profile { get; set; }
public Insignia RequestInsignia { get; set; }
public InsigniaNote InsigniaNote { get; set; }
}
}