package org.matrix.actuators.sql;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * SqlExpDetail.
 *
 * @author Matrix <xhyrzldf@gmail.com>
 * @since 2022/1/19 at 5:08 PM
 * Suffering is the most powerful teacher of life.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SqlExpDetail {

    /**
     * 连接池ID {@link org.matrix.database.entity.Connect} 这张表的主键
     */
    private Long poolId;

    /**
     * sql 表达式  形如 select * from table where id = #{id}
     */
    private String sqlExp;
}
