API จัดการตำแหน่งติดเงื่อนไข

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-01 10:17:45 +07:00
parent d4696409b2
commit 9114081c21
6 changed files with 115 additions and 27 deletions

View file

@ -0,0 +1,45 @@
interface OrgTree {
orgTreeId: string;
orgRootId: string;
orgLevel: number;
orgTreeName: string;
orgTreeShortName: string;
orgTreeCode: string;
orgCode: string;
orgTreeRank: string;
orgTreeOrder: number | null;
orgRootCode: string;
orgTreePhoneEx: string;
orgTreePhoneIn: string;
orgTreeFax: string;
orgRevisionId: string;
isOfficer: boolean;
children: OrgTree[];
}
interface DataPositionCondition {
conditionReason: string;
id: string;
isCondition: boolean;
orgShortname: string;
posMasterNo: number;
posMasterNoPrefix: string | null;
posMasterNoSuffix: string | null;
profilePosition: string;
profilePoslevel: string;
profilePostype: string;
positions: Positions[];
}
interface Positions {
id: string;
posExecutiveName: string;
posLevelName: string;
posTypeName: string;
positionArea: string;
positionExecutiveField: string;
positionField: string;
positionName: string;
}
export type { OrgTree, DataPositionCondition };