ส่งวินัยไปออกคำสั่ง

This commit is contained in:
Kittapath 2023-12-22 15:29:24 +07:00
parent e8a288b4b2
commit f644654384
21 changed files with 24913 additions and 84 deletions

View file

@ -30,15 +30,17 @@ namespace BMA.EHR.Domain.Models.Discipline
[Comment("เงินเดือน")]
public double? Salary { get; set; }
[Comment("สถานะออกคำสั่ง")]
public string? Status { get; set; }
public string? Status { get; set; } = "NEW";
[Comment("ประเภทออกคำสั่ง")]
public Guid? CommandTypeId { get; set; }
[Comment("สถานะออกคำสั่งงดโทด")]
public string? StatusDiscard { get; set; }
public string? StatusDiscard { get; set; } = "NEW";
[Comment("ประเภทออกคำสั่งงดโทด")]
public Guid? CommandTypeDiscardId { get; set; }
[Comment("ส่งไปยุติเรื่อง")]
public bool IsReport { get; set; } = false;
public string? IsReport { get; set; } = "NEW";
[Comment("ส่งไปพักราชการ")]
public string? IsSuspend { get; set; } = "NEW";
[Required, Comment("Id เรื่องสอบสวน")]
public DisciplineDisciplinary DisciplineDisciplinary { get; set; }
public virtual List<DisciplineReport_Profile> DisciplineReport_Profiles { get; set; } = new List<DisciplineReport_Profile>();

View file

@ -30,7 +30,7 @@ namespace BMA.EHR.Domain.Models.Discipline
[Comment("เงินเดือน")]
public double? Salary { get; set; }
[Comment("ส่งไปยุติเรื่อง")]
public bool IsReport { get; set; } = false;
public string? IsReport { get; set; } = "NEW";
[Required, Comment("Id เรื่องสืบสวน")]
public DisciplineInvestigate DisciplineInvestigate { get; set; }
}