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

90 lines
2.9 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 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;
}
2025-03-03 15:07:18 +07:00
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; //ด้าน/สาขา
2025-03-11 18:07:37 +07:00
positionCee: string; //ระดับซี
amount: number | null; //เงินเดือน
amountSpecial: number | null; //เงินค่าตอบแทนพิเศษ
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 };