hrms-mgt/src/modules/04_registryPerson/interface/request/Main.ts
2024-08-01 12:12:28 +07:00

38 lines
783 B
TypeScript

interface FormFilter {
page: number;
pageSize: number;
keyword: string;
type: string;
posType: string;
posLevel: string;
retireYear: string | null;
rangeYear: { min: number; max: number };
isShowRetire: boolean | null;
isProbation: boolean | null;
}
interface FormAddPerson {
birthDate: Date | null,
rank: string,
prefix: string;
firstName: string;
lastName: string;
citizenId: string;
position: string;
posTypeId: string;
posLevelId: string;
}
interface MyObjectRef {
prefix: object | null;
firstName: object | null;
lastName: object | null;
citizenId: object | null;
position: object | null;
posTypeId: object | null;
posLevelId: object | null;
[key: string]: any;
}
export type { FormFilter, FormAddPerson, MyObjectRef };