63 lines
1.6 KiB
TypeScript
63 lines
1.6 KiB
TypeScript
//ข้อมูล
|
|
interface ResponseObject {
|
|
id: string;
|
|
date: Date;
|
|
amount: number;
|
|
positionSalaryAmount: number;
|
|
mouthSalaryAmount: number;
|
|
oc: string;
|
|
ocId: string;
|
|
position: string;
|
|
positionId: string;
|
|
posNo: string;
|
|
posNoId: string;
|
|
positionLine: string;
|
|
positionLineId: string;
|
|
positionPathSide: string;
|
|
positionPathSideId: string;
|
|
positionType: string;
|
|
positionTypeId: string;
|
|
positionLevel: string;
|
|
positionLevelId: string;
|
|
positionExecutive: string;
|
|
positionExecutiveId: string;
|
|
positionExecutiveSide: string;
|
|
positionExecutiveSideId: string;
|
|
salaryClass: string;
|
|
salaryRef: string;
|
|
refCommandNo: string;
|
|
// refCommandDate: Date | null;
|
|
salaryStatus: string | null;
|
|
createdFullName: string;
|
|
createdAt: Date;
|
|
}
|
|
|
|
interface ResponseObjectEmployee {
|
|
amount: number;
|
|
createdAt: Date;
|
|
createdFullName: string;
|
|
date: Date;
|
|
id: string;
|
|
mouthSalaryAmount: number;
|
|
oc: string | null;
|
|
ocId: string;
|
|
posNo: string | null;
|
|
posNoId: string | null;
|
|
posNoEmployee: string | null;
|
|
positionEmployeeGroup: string | null;
|
|
positionEmployeeGroupId: string | null;
|
|
positionEmployeeLevel: string | null;
|
|
positionEmployeeLevelId: string | null;
|
|
positionEmployeePosition: string | null;
|
|
positionEmployeePositionId: string | null;
|
|
positionEmployeePositionSide: string | null;
|
|
positionEmployeePositionSideId: string | null;
|
|
positionSalaryAmount: number;
|
|
salaryClass: string | null;
|
|
salaryRef: string | null;
|
|
refCommandNo: string;
|
|
salaryStatus: string | null;
|
|
// refCommandDate: Date | null;
|
|
}
|
|
|
|
export type { ResponseObject, ResponseObjectEmployee };
|