package cn.iocoder.yudao.module.server.controller.admin.rectifyinforeport.vo;

import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 整改结果 Response VO")
@Data
@ExcelIgnoreUnannotated
public class RectifyInfoReportRespVO {

    @Schema(description = "信息ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4303")
    private Long id;

    @Schema(description = "单位")
    @ExcelProperty("单位")
    private String departmentName;

    @Schema(description = "约谈数量", example = "9071")
    @ExcelProperty("约谈数量")
    private Integer interviewCount;

    @Schema(description = "书面检查数量", example = "24175")
    @ExcelProperty("书面检查数量")
    private Integer writtenExaminationCount;

    @Schema(description = "通报批评数量", example = "17085")
    @ExcelProperty("通报批评数量")
    private Integer criticismCount;

    @Schema(description = "警告或记过处分数量", example = "20068")
    @ExcelProperty("警告或记过处分数量")
    private Integer warningCount;

    @Schema(description = "调离岗位或免职数量", example = "23024")
    @ExcelProperty("调离岗位或免职数量")
    private Integer dismissalCount;

    @Schema(description = "其他数量", example = "22929")
    @ExcelProperty("其他数量")
    private Integer otherCount;

    @Schema(description = "所属季度")
    @ExcelProperty(value = "所属季度", converter = DictConvert.class)
    @DictFormat("trs_quarter") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String quarter;

    @Schema(description = "上报人", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("上报人")
    private String reporterName;

    @Schema(description = "上报人电话")
    @ExcelProperty("上报人电话")
    private String reporterPhone;

    @Schema(description = "上报时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("上报时间")
    @ColumnWidth(20)
    private LocalDateTime reportTime;

    @Schema(description = "部门ID", example = "25788")
    private Long departmentId;

    @Schema(description = "状态", example = "1")
    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat("trs_rectify_status") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String reportStatus;

    @Schema(description = "备注信息", example = "随便")
    @ExcelProperty("备注信息")
    private String reportRemark;

    @Schema(description = "上报附件")
    private String attachment;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    @ColumnWidth(20)
    private LocalDateTime createTime;

}