package cn.iocoder.yudao.module.server.controller.admin.harmfulinforeport.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 HarmfulInfoReportRespVO {

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

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

    @Schema(description = "网站")
    @ExcelProperty("网站")
    private Integer website;

    @Schema(description = "新媒体")
    @ExcelProperty("新媒体")
    private Integer newMedia;

    @Schema(description = "总数", example = "23387")
    @ExcelProperty("总数")
    private Integer totalCount;

    @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 = "上报人类型", example = "1")
    @ExcelProperty(value = "上报人类型", converter = DictConvert.class)
    @DictFormat("trs_reporter_type") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String reporterType;

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

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

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

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

    @Schema(description = "内网/专网")
    @ExcelProperty(value = "内网/专网", converter = DictConvert.class)
    @DictFormat("trs_internal_network") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String internalNetwork;

    @Schema(description = "备注信息", example = "你说的对")
    @ExcelProperty("备注信息")
    private String reportRemark;

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

}