package com.engine.salary.report.entity.dto;

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

import java.math.BigDecimal;

/**
 * 薪酬统计报表自定义统计项目规则
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SalaryStatisticsItemRuleDTO {

    //是否有合计列。若是文本，代表是否显示
    private Integer totalValue;

    //是否有占比列
    private Integer ratioValue;

    //是否有环比列
    private Integer m2mValue;

    //合计环比上限
    private BigDecimal m2mUpperLimit;

    //合计环比下限
    private BigDecimal m2mLowerLimit;

    //是否有同比列
    private Integer y2yValue;

    //合计同比上限
    private BigDecimal y2yUpperLimit;

    //合计同比下限
    private BigDecimal y2yLowerLimit;
}
