hrms-mgt/src/modules/06_retirement/interface/response/Deceased.ts
2024-05-03 13:24:48 +07:00

61 lines
1.2 KiB
TypeScript

interface requestSendNoti {
profileId: string;
isSendMail: boolean;
isSendInbox: boolean;
isSendNotification: boolean;
}
interface DataCopyOrder {
id: string;
personalId: string;
name: string;
idCard: string;
position: string;
unit: string;
send: string;
mutiselect: number[];
}
interface ResponseOrganiz {
firstName: string;
idCard: string;
lastName: string;
name: string;
position: string;
prefixId: string;
profileId: string;
unit: string;
}
interface ResDetailDeceased {
id: string;
profileId: string;
prefix: string;
firstName: string;
lastName: string;
root: string;
rootShortName: string;
child1: string | null;
child1ShortName: string | null;
child2: string | null;
child2ShortName: string | null;
child3: string | null;
child3ShortName: null;
child4: string | null;
child4ShortName: string | null;
posMasterNo: number | null;
position: string;
posLevelName: string;
posTypeName: string;
number: string;
date: Date | null | undefined;
location: string;
reason: string;
pathName: string | null;
isActive: boolean;
createdAt: string;
}
export type {
requestSendNoti,
DataCopyOrder,
ResponseOrganiz,
ResDetailDeceased,
};