71 lines
1.4 KiB
TypeScript
71 lines
1.4 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;
|
|
activeId?: string | null;
|
|
organization?: string;
|
|
consideredAgencyId?: string | 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;
|
|
dateReceived: object | null;
|
|
offenseDetails: 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,
|
|
};
|