EchoTex_Payroll/HRM.UI/ClientApp/src/app/_models/Employee/empLifeCycle.ts
2024-10-14 10:01:49 +06:00

75 lines
2.1 KiB
TypeScript

import {EnumEmployeeStatus, EnumPFMembershipType} from '../enums';
import {HrEmployee} from '../HREmployee/hrEmployee';
import {EmployeeGradeSalary} from './employeeGradeSalary';
import {BaseObject} from '../Basic/baseObject';
import { Employee } from './employee';
export class EmpLifeCycle extends BaseObject {
gradeSalaryAssesmentID: number;
empCCID: number;
effectDate: Date;
nodeID?: number;
costCenterID: number;
payScaleID: number;
gradeID: number;
categoryID: number;
companyID: number;
functionID: number;
designationID: number;
locationID: number;
departmentID: number;
isConfirm?: boolean;
pfMemberType?: EnumPFMembershipType;
employeeID: number;
statusDetailID: number;
grossSalary: number;
basicSalary: number;
isDiscontinue?: boolean;
isContinue?: boolean;
employeestatus: EnumEmployeeStatus;
remarks: string;
description: string;
salaryMonth: Date;
employeeGradeSalary: EmployeeGradeSalary;
isCurrentMonthIncluded?: boolean;
incrementNo: number;
HREmployee: HrEmployee;
employee: Employee;
payrollTypeID?: number;
complainID: number;
punishmentID: number;
isPayrollTypeChanged: boolean;
isTransferReceived: boolean;
constructor() {
super();
this.empCCID = null;
this.effectDate = new Date();
this.nodeID = null;
this.costCenterID = null;
this.payScaleID = null;
this.gradeID = null;
this.categoryID = null;
this.companyID = null;
this.functionID = null;
this.designationID = null;
this.locationID = null;
this.departmentID = null;
this.grossSalary = 0;
this.basicSalary = 0;
this.employeestatus = EnumEmployeeStatus.Live;
this.remarks = '';
this.description = '';
this.salaryMonth = new Date();
this.isCurrentMonthIncluded = false;
this.incrementNo = null;
this.payrollTypeID = 0;
this.complainID = 0;
this.punishmentID = 0;
this.isPayrollTypeChanged = false;
this.isTransferReceived = false;
}
}