io.vertx.ext.sql.assist.SqlPropertyValue Maven / Gradle / Ivy
package io.vertx.ext.sql.assist;
/**
* 用于存储数据库列名,与列名对应的值
*
* @author Mirren
*
*/
public class SqlPropertyValue {
/** 列名 */
private String name;
/** 参数值 */
private T value;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public T getValue() {
return value;
}
public void setValue(T value) {
this.value = value;
}
public SqlPropertyValue(String name, T value) {
super();
this.name = name;
this.value = value;
}
@Override
public String toString() {
return "SqlPropertyValue [name=" + name + ", value=" + value + "]";
}
}