| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- package com.leanwo.management.config;
- /**
- * 数据源配置.
- *
- * @author YangZhiJie
- */
- public class DataSourceConfig {
- /** bean Id. */
- private String beanId;
-
- /** 数据库访问地址. */
- private String url;
- /** 数据库访问用户名. */
- private String username;
- /** 数据库访问密码. */
- private String password;
- /**
- * Gets the bean Id.
- *
- * @return the bean Id
- */
- public String getBeanId() {
- return beanId;
- }
- /**
- * Sets the bean Id.
- *
- * @param beanId the new bean Id
- */
- public void setBeanId(String beanId) {
- this.beanId = beanId;
- }
- /**
- * Gets the 数据库访问地址.
- *
- * @return the 数据库访问地址
- */
- public String getUrl() {
- return url;
- }
- /**
- * Sets the 数据库访问地址.
- *
- * @param url the new 数据库访问地址
- */
- public void setUrl(String url) {
- this.url = url;
- }
- /**
- * Gets the 数据库访问用户名.
- *
- * @return the 数据库访问用户名
- */
- public String getUsername() {
- return username;
- }
- /**
- * Sets the 数据库访问用户名.
- *
- * @param username the new 数据库访问用户名
- */
- public void setUsername(String username) {
- this.username = username;
- }
- /**
- * Gets the 数据库访问密码.
- *
- * @return the 数据库访问密码
- */
- public String getPassword() {
- return password;
- }
- /**
- * Sets the 数据库访问密码.
- *
- * @param password the new 数据库访问密码
- */
- public void setPassword(String password) {
- this.password = password;
- }
-
- }
|