api พ้นราชการ

This commit is contained in:
Kittapath 2023-07-25 14:32:02 +07:00
parent b800b9e60d
commit 1c09aa8e23
8 changed files with 12002 additions and 30 deletions

View file

@ -30,6 +30,10 @@ namespace BMA.EHR.Domain.Models.HR
[Comment("ชื่อเครื่องราชฯ")]
// public string? Insignia { get; set; }
public Insignia? Insignia { get; set; }
[Comment("เอกสารอ้างอิง (เลขที่คำสั่ง)")]
public string? RefCommandNo { get; set; }
[Comment("เอกสารอ้างอิง (ลงวันที่)")]
public DateTime? RefCommandDate { get; set; }
public virtual List<ProfileInsigniaHistory> ProfileInsigniaHistorys { get; set; } = new List<ProfileInsigniaHistory>();
public virtual Profile? Profile { get; set; }
}

View file

@ -8,6 +8,8 @@ namespace BMA.EHR.Domain.Models.Retirement
{
[Comment("ครั้งที่")]
public int Round { get; set; }
[Comment("ปีงบประมาณ")]
public int Year { get; set; }
[Comment("ประเภท")]
public string Type { get; set; } = string.Empty;
public virtual List<RetirementProfile> RetirementProfiles { get; set; } = new List<RetirementProfile>();

View file

@ -12,7 +12,7 @@ namespace BMA.EHR.Domain.Models.Retirement
[Required, Comment("เหตุผล")]
public string Reason { get; set; } = string.Empty;
[Comment("ลบออกจากเกษียญ")]
public bool Remove { get; set; } = false;
public string Remove { get; set; } = "pending";
public RetirementPeriod RetirementPeriod { get; set; }
public Profile Profile { get; set; }
}