interface FormMain { ocId: string; positionId: string; positionLine: string; positionLevel: string; numberId: string; positionExecutive: string; positionExecutiveSide: string; positionType: string; positionPathSide: string; containDate: any; workDate: any; reasonSameDate: string; retireDate: any; ageAll: GovAgeForm | string; govAgeBkk: GovAgeForm | string; absent: number; age: number; [key: string]: any; } interface GovAgeForm { year: number; month: number; day: number; } interface RequestItemsHistoryObject { lastUpdatedAt: Date; lastUpdateFullName: string; 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; dateRetire: string | null; dateRetireLaw: string | null; govAge: string | null; govAgeAbsent: string | null; govAgePlus: string | null; reasonSameDate: string | null; createdFullName: string | null; createdAt: Date; } interface DataCardPos { label: string; data?: Data[]; } interface Data { name: string; time: string; } interface FormPostition { commandCode: string; //ประเภทคำสั่ง commandNo: string; //เลขที่คำสั่ง commandYear: number | null; //ปี commandDateAffect: Date | null; //วันที่มีผล commandDateSign: Date | null; //วันที่ลงนาม posNoAbb: string; //ตัวย่อเลขที่ตำแหน่ง posNo: string; //เลขที่ตำแหน่ง positionName: string; //ตำแหน่ง positionType: string; //ประเภทตำแหน่ง, กลุ่มงาน positionLevel: string; //ระดับตำแหน่ง, ระดับชั้นงาน positionLine: string; // สายงาน positionPathSide: string; //ด้าน/สาขา positionExecutive: string; //ตำแหน่งทางการบริหาร positionExecutiveField?: string; //ด้านทางการบริหาร positionArea?: string; //ด้าน/สาขา positionCee: string; //ระดับซี amount: number | undefined; //เงินเดือน amountSpecial: number | undefined; //เงินค่าตอบแทนพิเศษ orgRoot: string; //หน่วยงาน orgChild1: string; //ส่วนราชการระดับ 1 orgChild2: string; //ส่วนราชการระดับ 2 orgChild3: string; //ส่วนราชการระดับ 3 orgChild4: string; //ส่วนราชการระดับ 4 remark: string; //หมายเหตุstring posNumCodeSit: string; posNumCodeSitAbb: string; } export type { RequestItemsHistoryObject, FormMain, DataCardPos, FormPostition };