api สืบสวน

This commit is contained in:
Kittapath 2023-11-23 19:59:24 +07:00
parent d06e1af217
commit ab171a7394
24 changed files with 31960 additions and 429 deletions

View file

@ -1,9 +0,0 @@
using Microsoft.EntityFrameworkCore;
namespace BMA.EHR.Discipline.Service.Requests
{
public class DisciplineComplaintPersonIdRequest
{
public Guid[] personId { get; set; }// id บุคคลผู้ถูกร้องเรียน
}
}

View file

@ -17,6 +17,7 @@ namespace BMA.EHR.Discipline.Service.Requests
public DateTime dateNotification { get; set; }//*วันแจ้งเตือนล่วงหน้า
public string complaintFrom { get; set; }//*รับเรื่องร้องเรียนจาก ระบุว่ารับเรื่องมาจากใคร/หน่วยงานไหน (สตง., ปปช., ปปท., จดหมาย, อีเมล, โทรศัพท์, บอกกล่าว)
public string appellant { get; set; }//*ผู้ร้องเรียน
public string result { get; set; }
// public FormFile documentFile { get; set; }//*ไฟล์เอกสารหลักฐาน
}
public class DisciplineComplaintProfileRequest

View file

@ -0,0 +1,25 @@
using Microsoft.EntityFrameworkCore;
namespace BMA.EHR.Discipline.Service.Requests
{
public class DisciplineInvestigateComplaintRequest
{
public DisciplineComplaintProfileRequest[] persons { get; set; }// กรณีบุคคลใส่ id คน มาใน array แต่ถ้าเป็น type อื่นจะ null
public string title { get; set; }// *เรื่องที่ร้องเรียน
public string description { get; set; }// *รายละเอียดของเรื่องร้องเรียน
public string offenseDetails { get; set; }// *ลักษณะความผิดครั้งแรกจะเป็น "ยังไม่ระบุ" (NOT_SPECIFIED คือ ยังไม่ระบุ, NOT_DEADLY คือ ไม่ร้ายแรง, DEADLY คือ ร้ายแรง)
}
public class DisciplineInvestigateComplaintProfileRequest
{
public Guid? personId { get; set; }
public string? idcard { get; set; }
public string? prefix { get; set; }
public string? firstName { get; set; }
public string? lastName { get; set; }
public string? organization { get; set; }
public string? position { get; set; }
public string? positionLevel { get; set; }
public string? posNo { get; set; }
public double? salary { get; set; }
}
}

View file

@ -0,0 +1,18 @@
using Microsoft.EntityFrameworkCore;
namespace BMA.EHR.Discipline.Service.Requests
{
public class DisciplineInvestigateRequest
{
public string investigationDetail { get; set; }
public string investigationDetailOther { get; set; }
public DateTime investigationDateStart { get; set; }
public DateTime investigationDateEnd { get; set; }
public string investigationDescription { get; set; }
public string investigationStatusResult { get; set; }
public string investigationCauseText { get; set; }
public string result { get; set; }
public Guid[] directors { get; set; }
}
}

View file

@ -0,0 +1,9 @@
using Microsoft.EntityFrameworkCore;
namespace BMA.EHR.Discipline.Service.Requests
{
public class DisciplinePersonIdRequest
{
public Guid[] persons { get; set; }// id บุคคลผู้ถูกร้องเรียน
}
}