hrms-mgt/src/modules/11_discipline/interface/response/appealComplain.ts
2024-12-27 12:07:08 +07:00

94 lines
1.7 KiB
TypeScript

interface MainList {
id: string;
title: string;
description: string;
status: string;
type: string;
year: number;
caseType: string;
caseNumber: string;
fullname: string;
citizenId: string;
profileId: string;
profileType?: string;
lastUpdatedAt: Date;
}
interface RowList {
id: string;
title: string;
description: string;
status: string;
type: string;
year: number;
caseType: string;
caseNumber: string;
fullname: string;
citizenId: string;
profileId: string;
lastUpdatedAt: string | null;
}
interface RowAddList {
profileId: string;
fullname: string;
citizenId: string;
oc: string;
position: string;
profileType?: string;
}
interface EditDataList {
id: string;
title: string;
description: string;
status: string;
type: string;
year: number;
caseType: string;
caseNumber: string;
fullname: string;
citizenId: string;
profileId: string;
profileType?: string;
oc: string;
position: string;
lastUpdatedAt: string;
historyStatus: object | null;
disciplineComplaint_Appeal_Docs: object | null;
}
interface HistoryStatusType {
status: string;
createdFullName: string;
createdAt: Date;
}
interface FileObType {
id: string;
pathName: string;
fileName: string;
}
interface MyObjectAppealRef {
type: object | null;
title: object | null;
description: object | null;
caseTypeRef: object | null;
caseNumberRef: object | null;
[key: string]: any;
}
interface EditStatusRef {
reason: object | null;
status: object | null;
[key: string]: any;
}
export type {
MainList,
RowList,
MyObjectAppealRef,
EditStatusRef,
EditDataList,
FileObType,
RowAddList,
HistoryStatusType,
};