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 bool investigationExtendStatus { get; set; } = false; public int? investigationDaysExtend { get; set; } public string? result { get; set; } public Guid[] directors { get; set; } public DisciplineInvestigateComplaintProfileRequest[] persons { get; set; }// กรณีบุคคลใส่ id คน มาใน array แต่ถ้าเป็น type อื่นจะ null public string? organization { get; set; }// กรณีหน่วยงานใส่ id ของหน่วยงาน public string? organizationId { get; set; }// กรณีหน่วยงานใส่ id ของหน่วยงาน public string respondentType { get; set; }// *ผู้ถูกร้องเรียน (PERSON คือ บุคคล, ORGANIZATION คือ หน่วยงาน, BANGKOK คือ กรุงเทพมหานคร) } public class DisciplineInvestigateAdvanceSearcRequest { public int page { get; set; } = 1; public int pageSize { get; set; } = 25; public string keyword { get; set; } = string.Empty; public string status { get; set; } = string.Empty; public string? respondentType { get; set; } // ผู้ถูกสืบสวน public string? offenseDetails { get; set; } // ลักษณะความผิด public string? investigationDetail { get; set; } // ลักษณะการสืบสวน public DateTime? investigationDateStart { get; set; } // วันที่สืบสวนเริ่มต้น public DateTime? investigationDateEnd { get; set; } // วันที่สิ้นสุดสืบสวน public DateTime? dateReceivedStart { get; set; } // วันที่เริ่มต้นรับเรื่อง public DateTime? dateReceivedEnd { get; set; } // วันที่สิ้นสุดรับเรื่อง public string? investigationStatusResult { get; set; } // ผลการสืบสวน public string? sortBy { get; set; } public bool? descending { get; set; } } }