package org.apereo.cas.web.landtool.terra;
|
|
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.stereotype.Component;
|
|
/**
|
* @author ZSX
|
* @date 2021-2-24
|
*/
|
@Component
|
@ConfigurationProperties(prefix = "ojdbc")
|
public class OjdbcProperties {
|
|
private String jdbcUrl;
|
|
private String username;
|
|
private String password;
|
|
private String updatesql;
|
|
private String querysql;
|
|
private String driverclass;
|
|
public String getJdbcUrl() {
|
return jdbcUrl;
|
}
|
|
public void setJdbcUrl(String jdbcUrl) {
|
this.jdbcUrl = jdbcUrl;
|
}
|
|
public String getUsername() {
|
return username;
|
}
|
|
public void setUsername(String username) {
|
this.username = username;
|
}
|
|
public String getPassword() {
|
return password;
|
}
|
|
public void setPassword(String password) {
|
this.password = password;
|
}
|
|
public String getUpdatesql() {
|
return updatesql;
|
}
|
|
public void setUpdatesql(String updatesql) {
|
this.updatesql = updatesql;
|
}
|
|
public String getQuerysql() {
|
return querysql;
|
}
|
|
public void setQuerysql(String querysql) {
|
this.querysql = querysql;
|
}
|
|
public String getDriverclass() {
|
return driverclass;
|
}
|
|
public void setDriverclass(String driverclass) {
|
this.driverclass = driverclass;
|
}
|
|
@Override
|
public String toString() {
|
return "OjdbcProperties [jdbcUrl=" + jdbcUrl + ", username=" + username + ", password=" + password
|
+ ", updatesql=" + updatesql + ", querysql=" + querysql + ", driverclass=" + driverclass + "]";
|
}
|
|
}
|