package com.engine.salary.entity.salarysob.param;

import com.engine.salary.enums.SalaryRoundingModeEnum;
import com.engine.salary.enums.SalaryValueTypeEnum;
import com.engine.salary.enums.salaryitem.SalaryDataTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Harryxzy
 * @date 2022/11/16 15:14
 * @description 薪资项目回算项目保存参数
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SalarySobBackItemSaveParam {
    // 主键id
    private Long id;

    // 薪资账套id
    private Long salarySobId;

    // 薪资项目
    private Long salaryItemId;

    // 字段类型
    private SalaryDataTypeEnum dataType;

    // 舍入规则
    private SalaryRoundingModeEnum roundingMode;

    // 保留小数位
    private Integer pattern;

    // 取值方式
    private SalaryValueTypeEnum valueType;

    // 公式
    private Long formulaId;

    // 备注
    private String description;
}
