api จัดการคำขอเครื่องราช
This commit is contained in:
parent
4215af4a0b
commit
f386a5fea6
8 changed files with 409 additions and 233 deletions
|
|
@ -14,10 +14,12 @@ namespace BMA.EHR.Domain.Models.Insignias
|
|||
public DateTime StartDate { get; set; }
|
||||
public DateTime EndDate { get; set; }
|
||||
[MaxLength(50)]
|
||||
public string Amount { get; set; }
|
||||
public int Amount { get; set; }
|
||||
[MaxLength(10)]
|
||||
public string Type { get; set; }
|
||||
public Document? ReliefDoc { get; set; }
|
||||
[Comment("ราบการยื่นขอ")]
|
||||
public int Round { get; set; } = 1;
|
||||
[Comment("สถานะการใช้งาน")]
|
||||
public bool IsActive { get; set; } = true;
|
||||
public virtual List<InsigniaRequest> InsigniaRequests { get; set; }
|
||||
|
|
|
|||
|
|
@ -31,6 +31,9 @@ namespace BMA.EHR.Domain.Models.Insignias
|
|||
[Column(TypeName = "text")]
|
||||
public string? MatchingConditions { get; set; }
|
||||
|
||||
[Comment("สถานะตำแหน่งที่ยื่นขอ")]
|
||||
public string Status { get; set; } = "PENDING";
|
||||
|
||||
public Profile Profile { get; set; }
|
||||
|
||||
public Insignia RequestInsignia { get; set; }
|
||||
|
|
|
|||
|
|
@ -74,6 +74,7 @@
|
|||
#endregion
|
||||
|
||||
#region " Insignia "
|
||||
public static readonly string InsigniaDupicate = "มีการยื่นรอบรอบนี้ในปีนี้ไว้อยู่แล้ว";
|
||||
public static readonly string InsigniaRequestNotFound = "ไม่พบข้อมูลการยื่นขอพระราชทานเครื่องราชย์ของหน่วยงานที่ระบุ!!";
|
||||
public static readonly string InsigniaPeriodNotFound = "ไม่พบรอบการยื่นขอพระราชทานเครื่องราชย์อิสริยาภรณ์";
|
||||
public static readonly string CoinPeriodNotFound = "ไม่พบรอบการขอพระราชทานเหรียญจักรพรรดิมาลาที่ระบุ!!";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue