แจ้งเตือนล่วงหน้าวินัย

This commit is contained in:
Kittapath 2024-01-03 09:13:33 +07:00
parent 46599d1bc5
commit b371717f89
16 changed files with 3710 additions and 63 deletions

View file

@ -17,26 +17,26 @@ namespace BMA.EHR.Domain.Models.Discipline
[Required, Comment("เรื่องที่ร้องเรียน"), Column(TypeName = "text")]
public string Title { get; set; } = string.Empty;
[Required, Comment("รายละเอียดของเรื่องร้องเรียน"), Column(TypeName = "text")]
public string Description { get; set; } = string.Empty;
[Comment("รายละเอียดของเรื่องร้องเรียน"), Column(TypeName = "text")]
public string? Description { get; set; } = string.Empty;
[Required, Comment("วันที่รับเรื่อง เป็นวันที่ถือเป็นจุดเริ่มต้นของวินัยนั้น ๆ")]
public DateTime DateReceived { get; set; }
[Required, Comment("ระดับการพิจารณา 'ยังไม่ระบุ' (NORMAL คือ ปกติ, URGENT คือ ด่วน, VERY_URGENT คือ ด่วนมาก)")]
public string LevelConsideration { get; set; } = string.Empty;
[Comment("ระดับการพิจารณา 'ยังไม่ระบุ' (NORMAL คือ ปกติ, URGENT คือ ด่วน, VERY_URGENT คือ ด่วนมาก)")]
public string? LevelConsideration { get; set; } = string.Empty;
[Comment("วันที่กำหนดพิจารณา")]
public DateTime? DateConsideration { get; set; }
[Required, Comment("ลักษณะความผิดครั้งแรกจะเป็น 'ยังไม่ระบุ' (NOT_SPECIFIED คือ ยังไม่ระบุ, NOT_DEADLY คือ ไม่ร้ายแรง, DEADLY คือ ร้ายแรง)")]
public string OffenseDetails { get; set; } = string.Empty;
[Comment("ลักษณะความผิดครั้งแรกจะเป็น 'ยังไม่ระบุ' (NOT_SPECIFIED คือ ยังไม่ระบุ, NOT_DEADLY คือ ไม่ร้ายแรง, DEADLY คือ ร้ายแรง)")]
public string? OffenseDetails { get; set; } = string.Empty;
[Required, Comment("วันแจ้งเตือนล่วงหน้า")]
public DateTime DateNotification { get; set; }
[Required, Comment("รับเรื่องร้องเรียนจาก ระบุว่ารับเรื่องมาจากใคร/หน่วยงานไหน (สตง., ปปช., ปปท., จดหมาย, อีเมล, โทรศัพท์, บอกกล่าว)")]
public string ComplaintFrom { get; set; } = string.Empty;
[Comment("รับเรื่องร้องเรียนจาก ระบุว่ารับเรื่องมาจากใคร/หน่วยงานไหน (สตง., ปปช., ปปท., จดหมาย, อีเมล, โทรศัพท์, บอกกล่าว)")]
public string? ComplaintFrom { get; set; } = string.Empty;
[Required, Comment("ผู้ร้องเรียน")]
public string Appellant { get; set; } = string.Empty;
[Comment("ผู้ร้องเรียน")]
public string? Appellant { get; set; } = string.Empty;
// [Required, Comment("อ้างอิงรหัสเอกสาร")]
// public Document Document { get; set; }

View file

@ -17,26 +17,26 @@ namespace BMA.EHR.Domain.Models.Discipline
[Required, Comment("เรื่องที่ร้องเรียน"), Column(TypeName = "text")]
public string Title { get; set; } = string.Empty;
[Required, Comment("รายละเอียดของเรื่องร้องเรียน"), Column(TypeName = "text")]
public string Description { get; set; } = string.Empty;
[Comment("รายละเอียดของเรื่องร้องเรียน"), Column(TypeName = "text")]
public string? Description { get; set; } = string.Empty;
[Required, Comment("วันที่รับเรื่อง เป็นวันที่ถือเป็นจุดเริ่มต้นของวินัยนั้น ๆ")]
public DateTime DateReceived { get; set; }
[Required, Comment("ระดับการพิจารณา 'ยังไม่ระบุ' (NORMAL คือ ปกติ, URGENT คือ ด่วน, VERY_URGENT คือ ด่วนมาก)")]
public string LevelConsideration { get; set; } = string.Empty;
[Comment("ระดับการพิจารณา 'ยังไม่ระบุ' (NORMAL คือ ปกติ, URGENT คือ ด่วน, VERY_URGENT คือ ด่วนมาก)")]
public string? LevelConsideration { get; set; } = string.Empty;
[Comment("วันที่กำหนดพิจารณา")]
public DateTime? DateConsideration { get; set; }
[Required, Comment("ลักษณะความผิดครั้งแรกจะเป็น 'ยังไม่ระบุ' (NOT_SPECIFIED คือ ยังไม่ระบุ, NOT_DEADLY คือ ไม่ร้ายแรง, DEADLY คือ ร้ายแรง)")]
public string OffenseDetails { get; set; } = string.Empty;
[Comment("ลักษณะความผิดครั้งแรกจะเป็น 'ยังไม่ระบุ' (NOT_SPECIFIED คือ ยังไม่ระบุ, NOT_DEADLY คือ ไม่ร้ายแรง, DEADLY คือ ร้ายแรง)")]
public string? OffenseDetails { get; set; } = string.Empty;
[Required, Comment("วันแจ้งเตือนล่วงหน้า")]
public DateTime DateNotification { get; set; }
[Required, Comment("รับเรื่องร้องเรียนจาก ระบุว่ารับเรื่องมาจากใคร/หน่วยงานไหน (สตง., ปปช., ปปท., จดหมาย, อีเมล, โทรศัพท์, บอกกล่าว)")]
public string ComplaintFrom { get; set; } = string.Empty;
[Comment("รับเรื่องร้องเรียนจาก ระบุว่ารับเรื่องมาจากใคร/หน่วยงานไหน (สตง., ปปช., ปปท., จดหมาย, อีเมล, โทรศัพท์, บอกกล่าว)")]
public string? ComplaintFrom { get; set; } = string.Empty;
[Required, Comment("ผู้ร้องเรียน")]
public string Appellant { get; set; } = string.Empty;
[Comment("ผู้ร้องเรียน")]
public string? Appellant { get; set; } = string.Empty;
// [Required, Comment("อ้างอิงรหัสเอกสาร")]
// public Document Document { get; set; }
@ -134,6 +134,8 @@ namespace BMA.EHR.Domain.Models.Discipline
public string? ResultTitleType { get; set; }
[Comment("ปีงบประมาณ")]
public int? ResultYear { get; set; }
[Comment("ระดับโทษความผิดกรณีอื่นๆ")]
public string? DisciplinaryFaultLevelOther { get; set; }
public DisciplineInvestigate DisciplineInvestigate { get; set; }
public virtual List<DisciplineDisciplinary_ProfileComplaintInvestigate> DisciplineDisciplinary_ProfileComplaintInvestigates { get; set; } = new List<DisciplineDisciplinary_ProfileComplaintInvestigate>();

View file

@ -17,26 +17,26 @@ namespace BMA.EHR.Domain.Models.Discipline
[Required, Comment("เรื่องที่ร้องเรียน"), Column(TypeName = "text")]
public string Title { get; set; } = string.Empty;
[Required, Comment("รายละเอียดของเรื่องร้องเรียน"), Column(TypeName = "text")]
public string Description { get; set; } = string.Empty;
[Comment("รายละเอียดของเรื่องร้องเรียน"), Column(TypeName = "text")]
public string? Description { get; set; } = string.Empty;
[Required, Comment("วันที่รับเรื่อง เป็นวันที่ถือเป็นจุดเริ่มต้นของวินัยนั้น ๆ")]
public DateTime DateReceived { get; set; }
[Required, Comment("ระดับการพิจารณา 'ยังไม่ระบุ' (NORMAL คือ ปกติ, URGENT คือ ด่วน, VERY_URGENT คือ ด่วนมาก)")]
public string LevelConsideration { get; set; } = string.Empty;
[Comment("ระดับการพิจารณา 'ยังไม่ระบุ' (NORMAL คือ ปกติ, URGENT คือ ด่วน, VERY_URGENT คือ ด่วนมาก)")]
public string? LevelConsideration { get; set; } = string.Empty;
[Comment("วันที่กำหนดพิจารณา")]
public DateTime? DateConsideration { get; set; }
[Required, Comment("ลักษณะความผิดครั้งแรกจะเป็น 'ยังไม่ระบุ' (NOT_SPECIFIED คือ ยังไม่ระบุ, NOT_DEADLY คือ ไม่ร้ายแรง, DEADLY คือ ร้ายแรง)")]
public string OffenseDetails { get; set; } = string.Empty;
[Comment("ลักษณะความผิดครั้งแรกจะเป็น 'ยังไม่ระบุ' (NOT_SPECIFIED คือ ยังไม่ระบุ, NOT_DEADLY คือ ไม่ร้ายแรง, DEADLY คือ ร้ายแรง)")]
public string? OffenseDetails { get; set; } = string.Empty;
[Required, Comment("วันแจ้งเตือนล่วงหน้า")]
public DateTime DateNotification { get; set; }
[Required, Comment("รับเรื่องร้องเรียนจาก ระบุว่ารับเรื่องมาจากใคร/หน่วยงานไหน (สตง., ปปช., ปปท., จดหมาย, อีเมล, โทรศัพท์, บอกกล่าว)")]
public string ComplaintFrom { get; set; } = string.Empty;
[Comment("รับเรื่องร้องเรียนจาก ระบุว่ารับเรื่องมาจากใคร/หน่วยงานไหน (สตง., ปปช., ปปท., จดหมาย, อีเมล, โทรศัพท์, บอกกล่าว)")]
public string? ComplaintFrom { get; set; } = string.Empty;
[Required, Comment("ผู้ร้องเรียน")]
public string Appellant { get; set; } = string.Empty;
[Comment("ผู้ร้องเรียน")]
public string? Appellant { get; set; } = string.Empty;
// [Required, Comment("อ้างอิงรหัสเอกสาร")]
// public Document Document { get; set; }

View file

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