75 lines
No EOL
1.6 KiB
TypeScript
75 lines
No EOL
1.6 KiB
TypeScript
interface FormData {
|
|
id:string
|
|
respondentType: string
|
|
consideredAgency: string
|
|
title: string
|
|
description: string
|
|
dateReceived: Date | null
|
|
dateConsideration: Date | null
|
|
offenseDetails: string
|
|
levelConsideration: string
|
|
dateNotification: Date | null
|
|
complaintFrom: string
|
|
appellant: string
|
|
documentFile: any | null
|
|
status: string
|
|
result: string
|
|
persons: object|null
|
|
organizationId:string|null
|
|
disciplineComplaintDocs:object|null
|
|
}
|
|
|
|
interface ArrayPerson {
|
|
id: string
|
|
personId:string
|
|
idcard:string
|
|
name:string
|
|
prefix:string
|
|
firstName:string
|
|
lastName:string
|
|
posNo:string
|
|
position:string
|
|
positionLevel:string
|
|
salary:number|null
|
|
organization:string
|
|
}
|
|
|
|
interface ArrayFileList {
|
|
id:string
|
|
pathName:string
|
|
fileName:string
|
|
}
|
|
interface MyObjectComplaintsRef {
|
|
respondentType: object | null;
|
|
organizationId: object | null;
|
|
consideredAgency: object | null;
|
|
title: object | null;
|
|
// description: object | null;
|
|
dateReceived: object | null;
|
|
// dateConsideration: object | null;
|
|
offenseDetails: object | null;
|
|
// levelConsideration: object | null;
|
|
// dateNotification: object | null;
|
|
// complaintFrom: object | null;
|
|
// appellant: object | null;
|
|
// result: object | null;
|
|
[key: string]: any;
|
|
}
|
|
|
|
interface DataAddRequest {
|
|
id: string
|
|
idcard: string
|
|
name: string
|
|
positionNo: string
|
|
position: string
|
|
positionLevel: string
|
|
salary: string
|
|
organization: string
|
|
}
|
|
export type {
|
|
FormData,
|
|
MyObjectComplaintsRef,
|
|
DataAddRequest,
|
|
ArrayPerson,
|
|
ArrayFileList
|
|
} |