hrms-mgt/src/modules/04_registryNew/interface/index/government.ts

58 lines
1.3 KiB
TypeScript
Raw Normal View History

2024-03-12 11:47:46 +07:00
interface FormMain {
2024-05-15 09:28:48 +07:00
ocId: string;
positionId: string;
positionLine: string;
positionLevel: string;
numberId: string;
positionExecutive: string;
positionExecutiveSide: string;
positionType: string;
positionPathSide: string;
2024-03-12 11:47:46 +07:00
2024-05-15 09:28:48 +07:00
containDate: any;
workDate: any;
reasonSameDate: string;
retireDate: any;
ageAll: GovAgeForm;
absent: number;
age: number;
2024-03-12 11:47:46 +07:00
[key: string]: any;
}
interface GovAgeForm {
2024-05-15 09:28:48 +07:00
year: number;
month: number;
day: number;
}
interface MyObjectRef {
2024-03-12 11:47:46 +07:00
containDate: object | null;
workDate: object | null;
reasonSameDate: object | null;
[key: string]: any;
}
interface RequestItemsHistoryObject {
2024-05-15 09:28:48 +07:00
lastUpdatedAt: Date;
lastUpdateFullName: string;
2024-03-12 11:47:46 +07:00
oc: string | null;
position: string | null;
positionPathSide: string | null;
posNo: string | null;
positionLine: string | null;
positionType: string | null;
positionLevel: string | null;
positionExecutive: string | null;
positionExecutiveSide: string | null;
dateAppoint: Date;
dateStart: Date;
2024-05-15 09:28:48 +07:00
dateRetire: string | null;
dateRetireLaw: string | null;
2024-03-12 11:47:46 +07:00
govAge: string | null;
govAgeAbsent: string | null;
govAgePlus: string | null;
reasonSameDate: string | null;
createdFullName: string | null;
createdAt: Date;
}
export type { MyObjectRef, RequestItemsHistoryObject, FormMain };