package com.sundot.airport.common.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sundot.airport.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 绩效指标导出 DTO - 大队维度
 * 显示：排名、大队名称、总分、查获效率、巡检合格率、培训得分
 * （不显示班级名称、科室名称、大队名称重复字段）
 *
 * @author wangxx
 * @date 2026-03-16
 */
@Data
@ApiModel("绩效指标导出 DTO - 大队维度")
public class PerformanceMetricsBrigadeExportDto {
    @Excel(name = "大队名称", sort = 1)
    @ApiModelProperty("大队名称")
    private String name;

    @Excel(name = "总分", sort = 2)
    @ApiModelProperty("总分")
    private BigDecimal totalScore;

    @Excel(name = "查获效率", sort = 3)
    @ApiModelProperty("查获效率")
    private BigDecimal seizureEfficiency;

    @Excel(name = "巡检合格率", sort = 4)
    @ApiModelProperty("巡检合格率")
    private BigDecimal inspectionPassRate;

    @Excel(name = "抽问抽答正确率", sort = 5)
    @ApiModelProperty("抽问抽答正确率")
    private BigDecimal trainingScore;

    @Excel(name = "开始时间", sort = 6)
    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String startTime;

    @Excel(name = "结束时间", sort = 7)
    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String endTime;
}
