org.redkalex.source.parser.NativeSqlTemplet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redkale-plugins Show documentation
Show all versions of redkale-plugins Show documentation
Redkale-Plugins -- java framework
/*
*
*/
package org.redkalex.source.parser;
import java.util.Map;
import org.redkale.convert.json.JsonConvert;
/** @author zhangjx */
public class NativeSqlTemplet {
private String jdbcSql;
private Map templetParams;
public NativeSqlTemplet() {
// do nothing
}
public NativeSqlTemplet(String templetSql, Map templetParams) {
this.jdbcSql = templetSql;
this.templetParams = templetParams;
}
public String getJdbcSql() {
return jdbcSql;
}
public void setJdbcSql(String jdbcSql) {
this.jdbcSql = jdbcSql;
}
public Map getTempletParams() {
return templetParams;
}
public void setTempletParams(Map templetParams) {
this.templetParams = templetParams;
}
@Override
public String toString() {
return JsonConvert.root().convertTo(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy