hrms-api-backend/BMA.EHR.Discipline.Service/Requests/DisciplineDisciplinaryRequest.cs

35 lines
1.9 KiB
C#

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 DateTime? DisciplinaryDateStart { get; set; }
public DateTime? DisciplinaryDateEnd { get; set; }
public int? DaysExtend { get; set; }
public bool ExtendStatus { get; set; } = false;
public DateTime? DisciplinaryDateInvestigation { get; set; }
public DateTime? DisciplinaryDateResult { get; set; }
public string? DisciplinaryStatusResult { get; set; }
public string? DisciplinaryCauseText { get; set; }
public string? DisciplinaryResult { get; set; }
public string? DisciplinaryFaultLevelOther { 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 คือ กรุงเทพมหานคร)
}
}