api สอบสวน

This commit is contained in:
Kittapath 2023-11-24 15:28:04 +07:00
parent ab171a7394
commit 4882995f47
34 changed files with 36995 additions and 69 deletions

View file

@ -0,0 +1,25 @@
using Microsoft.EntityFrameworkCore;
namespace BMA.EHR.Discipline.Service.Requests
{
public class DisciplineDisciplinaryComplaintRequest
{
public DisciplineDisciplinaryInvestigateComplaintProfileRequest[] 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 DisciplineDisciplinaryInvestigateComplaintProfileRequest
{
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 DisciplineDisciplinaryInvestigateRequest
{
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,23 @@
using Microsoft.EntityFrameworkCore;
namespace BMA.EHR.Discipline.Service.Requests
{
public class DisciplineDisciplinaryRequest
{
public string? DisciplinaryWitnesses { get; set; }
public string? DisciplinaryRecordAccuser { get; set; }
public string? DisciplinarySummaryEvidence { get; set; }
public string? DisciplinaryRefLaw { get; set; }
public string? DisciplinaryFaultLevel { get; set; }
public string? DisciplinaryInvestigateAt { get; set; }
public string? DisciplinaryCaseFault { get; set; }
public DateTime DisciplinaryDateEvident { get; set; }
public DateTime DisciplinaryDateAllegation { get; set; }
public string? Result { get; set; }
public Guid[] directors { get; set; }
public DisciplineDisciplinaryInvestigateComplaintProfileRequest[] persons { get; set; }// กรณีบุคคลใส่ id คน มาใน array แต่ถ้าเป็น type อื่นจะ null
public Guid? organizationId { get; set; }// กรณีหน่วยงานใส่ id ของหน่วยงาน
public string respondentType { get; set; }// *ผู้ถูกร้องเรียน (PERSON คือ บุคคล, ORGANIZATION คือ หน่วยงาน, BANGKOK คือ กรุงเทพมหานคร)
}
}

View file

@ -4,7 +4,7 @@ namespace BMA.EHR.Discipline.Service.Requests
{
public class DisciplineInvestigateComplaintRequest
{
public DisciplineComplaintProfileRequest[] persons { get; set; }// กรณีบุคคลใส่ id คน มาใน array แต่ถ้าเป็น type อื่นจะ null
public DisciplineInvestigateComplaintProfileRequest[] 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 คือ ร้ายแรง)

View file

@ -5,14 +5,17 @@ namespace BMA.EHR.Discipline.Service.Requests
public class DisciplineInvestigateRequest
{
public string investigationDetail { get; set; }
public string investigationDetailOther { 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 string? investigationCauseText { get; set; }
public string? result { get; set; }
public Guid[] directors { get; set; }
public DisciplineInvestigateComplaintProfileRequest[] persons { get; set; }// กรณีบุคคลใส่ id คน มาใน array แต่ถ้าเป็น type อื่นจะ null
public Guid? organizationId { get; set; }// กรณีหน่วยงานใส่ id ของหน่วยงาน
public string respondentType { get; set; }// *ผู้ถูกร้องเรียน (PERSON คือ บุคคล, ORGANIZATION คือ หน่วยงาน, BANGKOK คือ กรุงเทพมหานคร)
}
}