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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * 薪酬统计自定义统计项表单
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SalaryStatisticsItemFormDTO {

    //主键id
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    //基础表单
    private Object baseForm;

    //统计规则
    private Map<String, Object> ruleData;
}
