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

57 lines
1.2 KiB
TypeScript
Raw Normal View History

2024-03-12 11:47:46 +07:00
interface FormMain {
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
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 {
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 {
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;
retireDate: string | null;
govAge: string | null;
govAgeAbsent: string | null;
govAgePlus: string | null;
reasonSameDate: string | null;
createdFullName: string | null;
createdAt: Date;
}
export type { MyObjectRef, RequestItemsHistoryObject, FormMain };