hrms-mgt/src/modules/04_registry/interface/request/Salary.ts

93 lines
2 KiB
TypeScript
Raw Normal View History

2023-06-01 12:54:58 +07:00
interface DataProps {
row: RequestItemsObject;
rowIndex: number;
}
2023-06-19 15:50:50 +07:00
interface DataPropsEmployee {
row: RequestItemsEmployee;
rowIndex: number;
}
2023-06-01 12:54:58 +07:00
//ข้อมูล
interface RequestItemsObject {
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;
2023-06-01 12:54:58 +07:00
createdFullName: string;
createdAt: Date;
}
2023-06-19 15:50:50 +07:00
interface RequestItemsEmployee {
amount: number;
createdAt: Date;
createdFullName: string;
date: Date;
id: string;
mouthSalaryAmount: number;
oc: string | null;
ocId: string;
2023-06-19 15:50:50 +07:00
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;
2023-06-19 15:50:50 +07:00
}
2023-06-01 12:54:58 +07:00
//columns
interface Columns {
[index: number]: {
name: String;
align: String;
label: String;
sortable: Boolean;
field: String;
headerStyle: String;
style: String;
};
}
2023-06-19 15:50:50 +07:00
export type {
RequestItemsObject,
Columns,
DataProps,
RequestItemsEmployee,
DataPropsEmployee,
};