package org.matrix.autotest.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * runSqlQuery.
 * 运行一段SQL所需要的参数
 *
 * @author Matrix <xhyrzldf@gmail.com>
 * @since 2022/3/24 at 8:45 PM
 * Suffering is the most powerful teacher of life.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class runSqlQuery {

    @ApiModelProperty("项目主键id,用于确定动态变量池解析用哪个项目的动态变量池")
    private Long projectId;
    @ApiModelProperty("环境id,用于确定需要解析的环境变量池所需的id")
    private Long envId;
    @ApiModelProperty("用于确定执行这段SQL所需要的连接池环境")
    private Long connectId;
    @ApiModelProperty("要执行的SQL语句，这里只支持select查询语句")
    private String sql;
}
