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

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Collection;
import java.util.Date;

/**
 * @description: 薪资核算结果临时存储
 * @author: xiajun
 * @modified By: xiajun
 * @date: Created in 12/27/21 10:05 AM
 * @version:v1.0
 */
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
//value = "hrsa_acct_result_temp")
public class SalaryAcctResultTempPO {

    /**
     * 主键id
     */
    private Long id;

    /**
     * 核算生成的key
     */
    private String calculateKey;

    /**
     * 薪资账套id
     */
    private Long salarySobId;

    /**
     * 薪资项目id
     */
    private Long salaryItemId;

    /**
     * 薪资核算的id
     */
    private Long salaryAcctRecordId;

    /**
     * 薪资核算人员id
     */
    private Long salaryAcctEmpId;

    /**
     * 人员id
     */
    private Long employeeId;

    /**
     * 个税扣缴义务人id
     */
    private Long taxAgentId;

    /**
     * 计算后的值
     */
    private String resultValue;

    /**
     * 回算前的值
     */
    private String originResultValue;

    /**
     * 租户key
     */
    private String tenantKey;

    /**
     * 创建人id
     */
    private Long creator;

    /**
     * 是否删除
     */
    private Integer deleteType;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;


    //条件
    Collection<Long> ids;
}
