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; } }