package com.pavis.admin.aigc.model.query;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import top.continew.starter.data.core.annotation.Query;
import top.continew.starter.data.core.enums.QueryType;

import java.io.Serial;
import java.io.Serializable;
import java.time.*;

/**
 * 智能体查询条件
 *
 * @author semi
 * @since 2025/05/26 17:28
 */
@Data
@Schema(description = "智能体查询条件")
public class AgentQuery implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 智能体名称
     */
    @Schema(description = "智能体名称")
    @Query(type = QueryType.EQ)
    private String name;

    /**
     * 智能体唯一标识码
     */
    @Schema(description = "智能体唯一标识码")
    @Query(type = QueryType.EQ)
    private String code;

    /**
     * 智能体类型:assistant/task/workflow
     */
    @Schema(description = "智能体类型:assistant/task/workflow")
    @Query(type = QueryType.EQ)
    private String agentType;

    /**
     * 智能体描述
     */
    @Schema(description = "智能体描述")
    @Query(type = QueryType.EQ)
    private String description;

    /**
     * 智能体提示词
     */
    @Schema(description = "智能体提示词")
    @Query(type = QueryType.EQ)
    private String systemPrompt;

    /**
     * 关联模型ID
     */
    @Schema(description = "关联模型ID")
    @Query(type = QueryType.EQ)
    private Long modelId;

    /**
     * 状态（1：启用；0：禁用）
     */
    @Schema(description = "状态（1：启用；0：禁用）")
    @Query(type = QueryType.EQ)
    private Integer status;

    /**
     * 运行时状态
     */
    @Schema(description = "运行时状态")
    @Query(type = QueryType.EQ)
    private String runtimeStatus;

    /**
     * 创建人
     */
    @Schema(description = "创建人")
    @Query(type = QueryType.EQ)
    private Long createUser;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @Query(type = QueryType.EQ)
    private LocalDateTime createTime;
}