registy ==> ข้อมูลราชการ ตำแหน่งเงินเดือน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-03-10 15:49:44 +07:00
parent 27a8fb4102
commit 27105c7bca
6 changed files with 926 additions and 715 deletions

View file

@ -57,4 +57,28 @@ interface Data {
name: string;
time: string;
}
export type { RequestItemsHistoryObject, FormMain, DataCardPos };
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; //ตำแหน่งทางการบริหาร
amount: number | null; //เงินเดือน
amountSpecial: number | null; //เงินค่าตอบแทนพิเศษ
orgRoot: string; //หน่วยงาน
orgChild1: string; //ส่วนราชการระดับ 1
orgChild2: string; //ส่วนราชการระดับ 2
orgChild3: string; //ส่วนราชการระดับ 3
orgChild4: string; //ส่วนราชการระดับ 4
remark: string; //หมายเหตุstring
}
export type { RequestItemsHistoryObject, FormMain, DataCardPos, FormPostition };

View file

@ -0,0 +1,119 @@
interface DataPositions {
amount: number;
amountSpecial: number;
commandCode: string;
commandDateAffect: Date;
commandDateSign: Date;
commandId: string;
commandName: string;
commandNo: string;
commandYear: number;
createdAt: string;
createdFullName: string;
createdUserId: string;
dateGovernment: Date;
id: string;
isEntry: boolean;
isGovernment: boolean;
lastUpdateFullName: string;
lastUpdateUserId: string;
lastUpdatedAt: Date;
mouthSalaryAmount: number;
order: number;
orgChild1: string;
orgChild2: string;
orgChild3: string;
orgChild4: string;
orgRoot: string;
posNo: string;
posNoAbb: string;
positionCee: string;
positionExecutive: string;
positionLevel: string;
positionLine: string;
positionPathSide: string;
positionName: string;
positionSalaryAmount: number;
positionType: string;
profileEmployeeId: string;
profileId: string;
refId: string;
remark: string;
}
interface DataCommandCode {
id: string;
createdAt: Date;
lastUpdatedAt: Date;
createdFullName: string;
lastUpdateFullName: string;
name: string;
code: number;
}
interface DataPosType {
id: string;
posTypeName: string;
posTypeRank: number;
posLevels: DataPosLevel[];
createdAt: Date;
lastUpdatedAt: Date;
lastUpdateFullName: string;
posTypeShortName?: string;
}
interface DataPosLevel {
id: string;
posLevelName: string;
posLevelRank: number;
posLevelAuthority: string;
createdAt: Date;
lastUpdatedAt: Date;
lastUpdateFullName: string;
}
interface DataPosPosition {
createdAt: Date;
id: string;
isSpecial: boolean;
lastUpdateFullName: string;
lastUpdatedAt: Date;
posExecutiveId: string;
posExecutiveName: string;
posLevelId: string;
posLevelName: string;
posTypeId: string;
posTypeName: string;
positionArea: string;
positionExecutiveField: string;
positionField: string;
positionIsSelected: boolean;
positionName: string;
}
interface DataPosExecutive {
id: string;
createdAt: Date;
lastUpdatedAt: Date;
lastUpdateFullName: string;
posExecutiveName: string;
posExecutivePriority: number;
}
interface DataTenure {
name: string;
days: number;
year: number;
month: number;
day: number;
}
export type {
DataPositions,
DataCommandCode,
DataPosType,
DataPosLevel,
DataPosPosition,
DataPosExecutive,
DataTenure,
};