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

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

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
//"hrsa_sub_table_item")
//社保福利统计子表统计项")
public class SubTableItemPO {

    //主键id")
    private Long id;

    //创建时间")
    private LocalDateTime createTime;

    //更新时间")
    private LocalDateTime updateTime;

    //创建人")
    private Long creator;

    //是否删除")
    private Integer deleteType;

    //租户key")
    private String tenantKey;

    //数据表id")
    private Long tableId;

    //统计项名称")
    private String itemName;

    //统计项集合")
    private String itemValue;

    /**
     * {
     * "totalValue":"",是否有合计列
     * "m2mValue":,是否有合计环比列
     * "upperLimit:",合计环比上限
     * "lowerLimit",合计环比下限
     * }
     * jsonToString
     */
    //合计规则")
    private String totalRule;

    /**
     * {
     * "totalValue":"",是否有合计列
     * "m2mValue":,是否有合计环比列
     * "upperLimit:",合计环比上限
     * "lowerLimit",合计环比下限
     * }
     * jsonToString
     */
    //计数规则")
    private String countRule;

    //顺序")
    private Integer indexValue;

    //统计单位")
    private Integer unitType;
}
