package cn.iocoder.yudao.module.llm.controller.admin.modelassesstaskmanual.vo;

import cn.iocoder.yudao.module.llm.dal.dataobject.modelassesstaskmanual.ModelAssessTaskDimensionDO;
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 ModelAssessTaskManualRespVO {

    @Schema(description = "评估任务ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "16493")
    @ExcelProperty("评估任务ID")
    private Long id;

    @Schema(description = "任务名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("任务名称")
    private String taskName;

    @Schema(description = "任务描述")
    @ExcelProperty("任务描述")
    private String taskInfro;

    @Schema(description = "CPU类型，使用字典（llm_cpu_type）", example = "2")
    @ExcelProperty(value = "CPU类型，使用字典（llm_cpu_type）", converter = DictConvert.class)
    @DictFormat("llm_cpu_type") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer cpuType;

    @Schema(description = "模型服务")
    @ExcelProperty("模型服务")
    private Long modelService;

    @Schema(description = "数据集")
    @ExcelProperty("数据集")
    private Long dataset;

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

    @Schema(description = "人工评估列表")
    private List<ModelAssessTaskDimensionRespVO> dimensions;

    @Schema(description = "模型评估任务状态，使用字典（llm_model_assess_task_status）")
    private Integer status;

    @Schema(description = "任务进度")
    private Integer progress;

    @Schema(description = "模型服务名称")
    private String modelServiceName;

    @Schema(description = "数据集名称")
    private String datasetName;
    /**
     * 模型类型
     */
    @Schema(description = "模型类型（0普通，1官方）")
    private Integer modelType;

    @Schema(description = "备份id")
    private Long backupId;


}