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

    @Schema(description = "访谈稿ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15139")
//    @ExcelProperty("访谈稿ID")
    private Long id;

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("标题")
    private String title;

    @Schema(description = "访谈描述", example = "随便")
    @ExcelProperty("访谈描述")
    private String description;

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

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

    @Schema(description = "部门/盟市")
    @ExcelProperty("部门/盟市")
    private String departmentName;

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

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

    @Schema(description = "附件名称")
    @ExcelProperty("附件名称")
    private String attachment;

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

}