hrms-mgt/src/modules/01_metadataNew/interface/request/position/index.ts
setthawutttty 189b3236a8
2024-02-21 13:41:39 +07:00

102 lines
2 KiB
TypeScript

interface Pagination {
rowsPerPage: number;
}
interface DataOption {
id: string;
name: string;
}
interface FormPositionSelectDialog {
positionId: string;
positionName: string;
positionField: string;
positionType: string;
positionLevel: string;
positionExecutive: string|null;
positionExecutiveField: string;
positionArea: string;
}
interface FormPositionSelectRef {
positionName: object | null;
positionField: object | null;
positionType: object | null;
positionLevel: object | null;
positionExecutive: object | null;
positionExecutiveField: object | null;
positionArea: object | null;
[key: string]: any;
}
interface FormExecutiveRef {
posExecutiveName: object | null;
posExecutivePriority: object | null;
[key: string]: any;
}
interface OptionType {
id: string;
posTypeName: string;
}
interface OptionLevel {
id: string;
posLevelName: string;
}
interface OptionExecutive {
id: string;
posExecutiveName: string;
}
interface FormPositionSelect {
positionId: string;
posTypeId: string;
positionName: string;
positionField: string;
positionType: string;
positionLevel: string;
positionExecutive: string;
positionExecutiveField: string;
positionArea: string;
isSpecial: boolean;
}
interface ListMenu {
label: string;
icon: string;
type: string;
color: string;
}
interface RowDetailPositions {
id: string;
positionId: string;
positionName: string;
positionField: string;
positionType: string;
positionLevel: string;
positionExecutive: string;
positionExecutiveField: string;
positionArea: string;
posTypeId: string;
posLevelId: string;
posExecutiveId: string;
isSpecial: boolean;
}
interface RowListForm {
id:string
posExecutiveName: string
posExecutivePriority: number|null
}
export type {
Pagination, DataOption, FormPositionSelect, FormPositionSelectRef, OptionType, OptionLevel,
OptionExecutive,
ListMenu,
RowDetailPositions,
RowListForm,
FormPositionSelectDialog,
FormExecutiveRef
};