hrms-mgt/src/modules/04_registryPerson/interface/index/discipline.ts
2024-09-03 11:28:01 +07:00

46 lines
799 B
TypeScript

interface RequestItemsObject {
profileId: string;
id?: string;
level: string;
detail: string;
unStigma: string;
refCommandNo: string;
refCommandDate: Date | null;
date: Date | null;
}
interface FormFilter {
page: number;
pageSize: number;
keyword: string;
type: string;
posType: string;
posLevel: string;
retireYear: string | null;
rangeYear: { min: number; max: number };
isShowRetire: boolean;
isProbation: boolean;
}
interface DataOption {
id: string;
name: string;
}
interface DisciplineOps {
levelOptions: DataOption[];
}
interface MyObjectRef {
date: object | null;
detail: object | null;
refCommandNo: object | null;
[key: string]: any;
}
export type {
RequestItemsObject,
FormFilter,
DataOption,
DisciplineOps,
MyObjectRef,
};