diff --git a/src/modules/12_Evaluate/interface/index/Main.ts b/src/modules/12_Evaluate/interface/index/Main.ts index e4ea7770c..f3ecb355b 100644 --- a/src/modules/12_Evaluate/interface/index/Main.ts +++ b/src/modules/12_Evaluate/interface/index/Main.ts @@ -1 +1,86 @@ -export type {}; +interface DataOption { + id: string; + name: string; + } + interface DataOptionYear { + id: number; + name: string; + } + interface DataOptioGroup { + id: string; + name: string; + + disable: Boolean; + } + + interface DataNumberOption { + id: number; + name: string; + } + + interface InvestigatefactsDataRowType { + id: string; + title: string; + respondentType: string; + offenseDetails: string; + investigationDetail: string; + dateInvestigate: string; + investigationStatusResult: string; + status: string; + } + + interface investigateDisDataRowType { + id: string; //id รายการ + title: string; //เรื่องร้องเรียน + interrogated: string; //ผู้ถูกสอบสวน + descMistake: string; //ลักษณะความผิด + mistakeLevel: string; //ระดับโทษความผิด + mistakeCase: string; //กรณีความผิด + investigationDate: Date | null; //วันที่สอบสวน + status: string | null; //สถานะ + isResultConfirmed: Boolean; //ยืนยันผลเเล้ว/ยังไม่ได้ยืนยันผล + } + + interface directorType { + id: string; + directorId?: string; + prefix: string; + firstName: string; + lastName: string; + position: string; + email: string; + phone: string; + total?: number; + duty?: string; + } + interface responseType { + id: string; + directorId?: string; + prefix: string; + firstName: string; + lastName: string; + position: string; + email: string; + phone: string; + total?: number; + duty?: string; + + } + + interface FileLists { + id: string; //id เอกสาร + fileName: string; //ชื่่อเอกสาร + pathName: string; //link file + } + + export type { + DataOption, + InvestigatefactsDataRowType, + investigateDisDataRowType, + directorType, + DataNumberOption, + responseType, + FileLists, + DataOptioGroup, + DataOptionYear, + }; \ No newline at end of file