using Microsoft.EntityFrameworkCore; namespace BMA.EHR.Discipline.Service.Requests { public class DisciplineInvestigateComplaintRequest { 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 คือ ร้ายแรง) } 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; } } }