reset
parent
4693f736f0
commit
a7b3d22ce7
@ -1,68 +0,0 @@
|
||||
package com.ruoyi.framework.datasource;
|
||||
|
||||
/**
|
||||
* 动态数据源表 sys_datasource
|
||||
*
|
||||
* @author wangchl
|
||||
* @date 2018-10-10
|
||||
*/
|
||||
public class SysDatasource {
|
||||
|
||||
/** ID */
|
||||
private String id;
|
||||
/** 密码 */
|
||||
private String pwd;
|
||||
/** 用户 */
|
||||
private String user;
|
||||
/** 地址 */
|
||||
private String url;
|
||||
/** 名称 */
|
||||
private String name;
|
||||
|
||||
public void setId(String id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setPwd(String pwd)
|
||||
{
|
||||
this.pwd = pwd;
|
||||
}
|
||||
|
||||
public String getPwd()
|
||||
{
|
||||
return pwd;
|
||||
}
|
||||
public void setUser(String user)
|
||||
{
|
||||
this.user = user;
|
||||
}
|
||||
|
||||
public String getUser()
|
||||
{
|
||||
return user;
|
||||
}
|
||||
public void setUrl(String url)
|
||||
{
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
public String getUrl()
|
||||
{
|
||||
return url;
|
||||
}
|
||||
public void setName(String name)
|
||||
{
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
/*
|
||||
Navicat Premium Data Transfer
|
||||
|
||||
Source Server : 127.0.0.1
|
||||
Source Server Type : MySQL
|
||||
Source Server Version : 50561
|
||||
Source Host : 127.0.0.1:3306
|
||||
Source Schema : ruoyi
|
||||
|
||||
Target Server Type : MySQL
|
||||
Target Server Version : 50561
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 20/12/2018 11:48:21
|
||||
*/
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for sys_datasource
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `sys_datasource`;
|
||||
CREATE TABLE `sys_datasource` (
|
||||
`id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT 'ID',
|
||||
`pwd` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '密码',
|
||||
`user` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '用户',
|
||||
`url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'IP地址',
|
||||
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '库名称',
|
||||
`remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '备注'
|
||||
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '动态数据源' ROW_FORMAT = Compact;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of sys_datasource
|
||||
-- ----------------------------
|
||||
INSERT INTO `sys_datasource` VALUES ('1', '123456', 'root', 'jdbc:mysql://127.0.0.1:3306/zwsd?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true', 'zwsd', '掌握时代');
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
Loading…
Reference in New Issue