api ระบบวินัย กรรมการ/ช่องทางร้องเรียน
This commit is contained in:
parent
9ed48d93b4
commit
2cdf724d58
69 changed files with 21578 additions and 134 deletions
45
BMA.EHR.Domain/Models/Discipline/DisciplineComplaint.cs
Normal file
45
BMA.EHR.Domain/Models/Discipline/DisciplineComplaint.cs
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.Discipline
|
||||
{
|
||||
public class DisciplineComplaint : EntityBase
|
||||
{
|
||||
|
||||
[Required, Comment("สถานะเรื่องร้องเรียน มีดังนี้ ใหม่ (NEW), ยุติเรื่อง (STOP), มีมูลส่งไปสืบสวนแล้ว (SEND_INVESTIGATE)")]
|
||||
public string Status { get; set; } = string.Empty;
|
||||
[Required, Comment("ผู้ถูกร้องเรียน (PERSON คือ บุคคล, ORGANIZATION คือ หน่วยงาน, BANGKOK คือ กรุงเทพมหานคร)")]
|
||||
public string RespondentType { get; set; } = string.Empty;
|
||||
|
||||
[Required, Comment("หน่วยงานที่พิจารณา จะเปลี่ยนไปตามผู้ถูกร้องดูรายละเอียดด้านล่าง")]
|
||||
public string ConsideredAgency { get; set; } = string.Empty;
|
||||
|
||||
[Required, Comment("เรื่องที่ร้องเรียน")]
|
||||
public string Title { get; set; } = string.Empty;
|
||||
|
||||
[Required, Comment("รายละเอียดของเรื่องร้องเรียน")]
|
||||
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("วันที่กำหนดพิจารณา")]
|
||||
public DateTime? DateConsideration { get; set; }
|
||||
[Required, 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;
|
||||
|
||||
[Required, Comment("ผู้ร้องเรียน")]
|
||||
public string Appellant { get; set; } = string.Empty;
|
||||
|
||||
// [Required, Comment("อ้างอิงรหัสเอกสาร")]
|
||||
// public Document Document { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
using BMA.EHR.Domain.Models.Documents;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.Discipline
|
||||
{
|
||||
public class DisciplineComplaint_Channel : EntityBase
|
||||
{
|
||||
|
||||
[Required, Comment("ชื่อประเภทการร้องเรียน")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
28
BMA.EHR.Domain/Models/Discipline/DisciplineDirector.cs
Normal file
28
BMA.EHR.Domain/Models/Discipline/DisciplineDirector.cs
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
using BMA.EHR.Domain.Models.Documents;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.Discipline
|
||||
{
|
||||
public class DisciplineDirector : EntityBase
|
||||
{
|
||||
// [Comment("คำนำหน้าชื่อ")]
|
||||
// public Guid Prefix { get; set; }
|
||||
|
||||
[Required, Comment("ชื่อ")]
|
||||
public string FirstName { get; set; } = string.Empty;
|
||||
|
||||
[Required, Comment("นามสกุล")]
|
||||
public string LastName { get; set; } = string.Empty;
|
||||
|
||||
[Required, Comment("ตำแหน่ง")]
|
||||
public string Position { get; set; } = string.Empty;
|
||||
|
||||
[Required, Comment("อีเมล")]
|
||||
public string Email { get; set; } = string.Empty;
|
||||
|
||||
[Required, Comment("เบอร์โทรศัพท์")]
|
||||
public string Phone { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue