package com.engine.salary.entity.salaryacct.bo;

import com.engine.salary.entity.datacollection.DataCollectionEmployee;
import com.engine.salary.entity.salaryacct.po.SalaryAcctRecordPO;
import com.engine.salary.entity.salarysob.dto.SalarySobCycleDTO;
import com.engine.salary.entity.salarysob.po.SalarySobAdjustRulePO;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @description: 薪资核算上下文
 * @author: xiajun
 * @modified By: xiajun
 * @date: Created in 8/22/22 3:26 PM
 * @version:v1.0
 */
@Data
public class SalaryCalcContext {

    /**
     * 当前核算人员
     */
    private DataCollectionEmployee simpleEmployee;
    /**
     * 员工状态
     */
    private Map<String, String> hrmStatusMap;
    /**
     * 薪资核算记录
     */
    private SalaryAcctRecordPO salaryAcctRecord;
    /**
     * 考勤周期、薪资周期、税款所属期、社保福利台账月份
     */
    private SalarySobCycleDTO salarySobCycle;
    /**
     * 调薪计薪规则
     */
    private List<SalarySobAdjustRulePO> salaryAdjustmentRules;
    /**
     * 本次薪资核算所涉及的公式
     */
    private SalaryCalcFormulaContext salaryCalcFormulaContext;
}
