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

import cn.iocoder.yudao.module.llm.controller.admin.prompttemplates.vo.AbilityFramework;
import cn.iocoder.yudao.module.llm.controller.admin.prompttemplates.vo.BriefFramework;
import cn.iocoder.yudao.module.llm.controller.admin.prompttemplates.vo.SampleFramework;
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.*;

@Schema(description = "管理后台 - Prompt模板备份 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PromptTemplatesBackupRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "4054")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "原模板Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "31631")
    @ExcelProperty("原模板Id")
    private Long srcId;

    @Schema(description = "模板名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("模板名称")
    private String name;

    @Schema(description = "模板分类")
    @ExcelProperty("模板分类")
    private Integer templateCategory;

    @Schema(description = "模板框架")
    @ExcelProperty("模板框架")
    private Integer templateFramework;

    @Schema(description = "模板内容")
    @ExcelProperty("模板内容")
    private String templateText;

    @Schema(description = "变量标识符")
    @ExcelProperty("变量标识符")
    private Integer variableIdentifier;

    @Schema(description = "模板类型", example = "1")
    @ExcelProperty("模板类型")
    private Integer templateType;

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

    @Schema(description = "使用量")
    @ExcelProperty("使用量")
    private int usedCount;

    @Schema(description = "标签Id列表", example = "[1, 2, 3]")
    private List<String> tagIds;


    private List<String> tagNames;

    @Schema(description = "应用Id列表", example = "[1, 2, 3]")
    private List<String> applicationIds;

    private List<String> applicationNames;

    @Schema(description = "关联应用")
    @ExcelProperty("关联应用")
    private int applicationCount;

    @Schema(description = "简介框架")
    private BriefFramework briefFramework;

    @Schema(description = "角色能力框架")
    private AbilityFramework abilityFramework;

    @Schema(description = "角色能力框架")
    private SampleFramework sampleFramework;

}
