package jnpf.model.personnels.vo.analysis;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PersonnelsOverviewProportionVO {

    /**
     * 数据名称
     */
    @ExcelProperty(value = "数据名称")
    private String dataName;

    /**
     * 数据值
     */
    @ExcelProperty(value = "数据值")
    private Integer data;

    /**
     * 百分占比
     */
    @ExcelProperty(value = "百分占比")
    private BigDecimal percentage;

    /**
     * 数据选项翻译值
     */
    @JSONField(serialize = false)
    @JsonIgnore
    private String dataTranslationValue;

}
