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 AgentExecutionStepQuery implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 执行ID
     */
    @Schema(description = "执行ID")
    @Query(type = QueryType.EQ)
    private Long executionId;

    /**
     * 步骤索引
     */
    @Schema(description = "步骤索引")
    @Query(type = QueryType.EQ)
    private Integer stepIndex;

    /**
     * 步骤类型:think/tool/action/response
     */
    @Schema(description = "步骤类型:think/tool/action/response")
    @Query(type = QueryType.EQ)
    private String stepType;

    /**
     * 状态:running/completed/failed
     */
    @Schema(description = "状态:running/completed/failed")
    @Query(type = QueryType.EQ)
    private String status;

    /**
     * 开始时间
     */
    @Schema(description = "开始时间")
    @Query(type = QueryType.EQ)
    private LocalDateTime startTime;

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

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