hrms-mgt/src/modules/04_registryNew/interface/response/Employee.ts

54 lines
1.3 KiB
TypeScript

interface EmployeeHistory {
createdAt: string;
createdFullName: string;
createdUserId: string;
employeeMoneyAllowance: string;
employeeMoneyEmployee: string;
employeeMoneyEmployer: string;
employeeMoneyIncrease: string;
employeeOc: string;
employeeTypeIndividual: string;
employeeWage: string;
id: string;
lastUpdateFullName: string;
lastUpdateUserId: string;
lastUpdatedAt: string;
positionEmployeeGroupId: string;
positionEmployeeLineId: string;
positionEmployeePositionId: string;
}
interface Employment {
command: string;
date: string | Date;
id: string;
}
interface EmploymentHistory {
command: string;
createdAt: string | Date;
createdFullName: string;
createdUserId: string;
date: string | Date;
id: string;
lastUpdateFullName: string;
lastUpdateUserId: string;
lastUpdatedAt: string | Date;
profileEmployeeEmploymentId: string;
}
interface ResEmployee {
id: string;
positionEmployeeGroupId: string;
positionEmployeeLineId: string;
positionEmployeePositionId: string;
employeeOc: string;
employeeTypeIndividual: string;
employeeWage: string;
employeeMoneyIncrease: string;
employeeMoneyAllowance: string;
employeeMoneyEmployee: string;
employeeMoneyEmployer: string;
}
export type { Employment, EmploymentHistory, EmployeeHistory, ResEmployee };