hrms-mgt/src/interface/main.ts

58 lines
1.3 KiB
TypeScript
Raw Normal View History

interface DataOption {
id: string;
label: string;
}
interface FormProfile {
id: string;
avatar: string;
fullName: string;
position: string;
positionLevel: string;
organization: string;
}
2024-07-31 09:48:33 +07:00
interface RoleData {
attrOwnership: string;
attrIsCreate: boolean;
attrIsList: boolean;
attrIsGet: boolean;
attrIsUpdate: boolean;
attrIsDelete: boolean;
attrPrivilege: string;
authSysId: string;
parentNode: string;
}
interface DataStructureTree {
labelName: string;
orgCode: string;
orgLevel: number;
orgName: string;
orgRevisionId: string;
orgRootName: string;
orgTreeCode: string;
orgTreeFax: string;
orgTreeId: string;
orgTreeName: string;
orgTreeOrder: number;
orgTreePhoneEx: string;
orgTreePhoneIn: string;
orgTreeRank: string;
orgTreeRankSub: string;
orgTreeShortName: string;
responsibility: string;
totalPosition: number;
totalPositionCurrentUse: number;
totalPositionCurrentVacant: number;
totalPositionNextUse: number;
totalPositionNextVacant: number;
totalRootPosition: number;
totalRootPositionCurrentUse: number;
totalRootPositionCurrentVacant: number;
totalRootPositionNextUse: number;
totalRootPositionNextVacant: number;
children: DataStructureTree[];
}
export type { DataOption, FormProfile, RoleData, DataStructureTree };