package com.sundot.airport.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 绩效维度统计结果DTO
 * 用于返回"得分/环比"格式的数据，如"84/+3%"
 *
 * @author wangxx
 */
@Data
@ApiModel("绩效维度统计结果DTO")
public class PerformanceDimensionResult {

    @ApiModelProperty("组织/姓名ID")
    private Long id;

    @ApiModelProperty("组织/姓名")
    private String name;

    @ApiModelProperty("查获效率（标准化后）")
    private BigDecimal seizureEfficiency;

    @ApiModelProperty("巡检合格率（标准化后）")
    private BigDecimal inspectionPassRate;

    @ApiModelProperty("培训得分（标准化后）")
    private BigDecimal trainingScore;

    @ApiModelProperty("总分（查获效率+巡检合格率+培训得分）")
    private BigDecimal totalScore;

    @ApiModelProperty("查获效率显示格式：得分/环比，如\"84/+3%\"")
    private String seizureEfficiencyDisplay;

    @ApiModelProperty("巡检合格率显示格式：得分/环比，如\"81/+1%\"")
    private String inspectionPassRateDisplay;

    @ApiModelProperty("培训得分显示格式：得分/环比，如\"90/+1%\"")
    private String trainingScoreDisplay;

    @ApiModelProperty("总分显示格式：得分/环比")
    private String totalScoreDisplay;

    @ApiModelProperty("排名")
    private Integer rank;
}