package tech.easyflow.agent.runtime.tool;

/**
 * Agent 业务工具执行结果。
 */
public class AgentToolExecutionResult {

    private Object result;
    private String businessExecutionId;

    /**
     * 创建执行结果。
     *
     * @param result 业务结果
     * @param businessExecutionId 业务执行记录 ID
     */
    public AgentToolExecutionResult(Object result, String businessExecutionId) {
        this.result = result;
        this.businessExecutionId = businessExecutionId;
    }

    /**
     * 获取业务结果。
     *
     * @return 业务结果
     */
    public Object getResult() {
        return result;
    }

    /**
     * 设置业务结果。
     *
     * @param result 业务结果
     */
    public void setResult(Object result) {
        this.result = result;
    }

    /**
     * 获取业务执行记录 ID。
     *
     * @return 业务执行记录 ID
     */
    public String getBusinessExecutionId() {
        return businessExecutionId;
    }

    /**
     * 设置业务执行记录 ID。
     *
     * @param businessExecutionId 业务执行记录 ID
     */
    public void setBusinessExecutionId(String businessExecutionId) {
        this.businessExecutionId = businessExecutionId;
    }
}
