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

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 PromptTemplatesRespVO {

    @Schema(description = "Prompt 模板ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "20922")
    private Long id;

    @Schema(description = "Prompt 模板名称", example = "王五")
    @ExcelProperty("模板名称")
    private String name;

    @Schema(description = "模板分类，使用字典（llm_prompt_template_category）")
    @ExcelProperty("模板分类")
    private Integer templateCategory;

    @Schema(description = "模板框架，使用字典（llm_prompt_template_framework）")
    private Integer templateFramework;

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

    @Schema(description = "变量标识符，使用字典（llm_variable_identifier）")
    private Integer variableIdentifier;

    @Schema(description = "模板类型（1 - 预制模板、2 - 自定义模板）", example = "1")
    private Integer templateType;

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

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

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

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

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

}
