DROP TABLE IF EXISTS `T_CMS`;
CREATE TABLE `T_CMS` (
  `UUID` varchar(32) NOT NULL,
  `TITLE` varchar(128) NOT NULL COMMENT '标题',
  `CONTENT` longtext COMMENT '内容',
  `CREATE_TIME` datetime DEFAULT NULL COMMENT '时间',
  `MODEL` varchar(32) DEFAULT NULL COMMENT '模块',
  PRIMARY KEY (`UUID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;


DROP TABLE IF EXISTS `T_BANNER`;
CREATE TABLE `T_BANNER` (
  `UUID` varchar(32) NOT NULL,
  `LANGUAGE` varchar(32) DEFAULT NULL COMMENT '语言',
  `CONTENT_CODE` varchar(16) DEFAULT NULL,
  `IMAGE` longtext COMMENT '标题',
  `URL` varchar(256) DEFAULT NULL,
  `MODEL` varchar(32) DEFAULT NULL COMMENT '模块',
  `ON_SHOW` int(2) DEFAULT NULL COMMENT '时间',
  `SORT_INDEX` int(11) DEFAULT NULL,
  `CLICK` int(2) DEFAULT NULL,
  `CREATE_TIME` datetime DEFAULT NULL,
  PRIMARY KEY (`UUID`),
  KEY `INDEX_MODEL` (`MODEL`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;