hrms-mgt/src/modules/18_command/interface/index/Main.ts
2024-10-08 10:35:55 +07:00

80 lines
1.3 KiB
TypeScript

interface Pagination {
rowsPerPage: number;
}
interface DataOption {
id: string | number;
name: string;
}
interface ItemTabs {
label: string;
name: string;
}
interface DataPerson {
fullName?: string;
citizenId: string;
firstName: string;
id: string;
lastName: string;
org: string;
position: string;
prefix: string;
profileId: string;
sendCC: string[];
}
interface DateSelectPerson {
citizenId: string;
firstName: string;
id: string;
isSit: boolean;
lastName: string;
name: string;
node: number;
nodeId: string;
orgChild1Id: string;
orgChild2Id: string;
orgChild3Id: string;
orgChild4Id: string;
orgRootId: string;
orgShortname: string;
organizationName: string;
posMasterNo: number;
posMasterNoPrefix: string;
posMasterNoSuffix: string;
position: string;
prefix: string;
profileId: string;
}
interface ListCommand {
id: string;
code: string;
name: string;
subtitle?: string;
commandSysId: string;
}
interface DataOrder {
assignFullName: string;
commandAffectDate: string | Date;
commandExcecuteDate: string | Date;
commandNo: string;
commandYear: number;
createdFullName: string;
id: string;
issue: string;
status: string;
}
export type {
Pagination,
DataOption,
ItemTabs,
DataPerson,
DateSelectPerson,
ListCommand,
DataOrder,
};