评论用到的表

CREATE TABLE `tbcommentmanager` (

  `id` int(11) NOT NULL AUTO_INCREMENT,

  `title` varchar(200) DEFAULT NULL COMMENT '主题',

  `commentContent` text COMMENT '评论内容',

  `module` int(11) NOT NULL COMMENT '模块',

  `moduleType` int(11) DEFAULT NULL COMMENT '模块类型',

  `moduleTypeName` varchar(50) DEFAULT NULL COMMENT '模块类型名称',

  `linkId` int(11) NOT NULL COMMENT '关联id(新闻id或活动id等)',

  `createUser` varchar(50) NOT NULL COMMENT '评论人',

  `commentDate` datetime NOT NULL COMMENT '创建时间',

  `replyUser` varchar(50) DEFAULT NULL COMMENT '回复人',

  `replayParentId` int(11) DEFAULT NULL COMMENT '回复那条评论id',

  `level` int(11) NOT NULL COMMENT '层级',

  `rootParentId` int(11) DEFAULT NULL COMMENT '评论根父类Id',

  `isHandpick` int(11) DEFAULT '0' COMMENT '是否是精选:0否,1是',

  PRIMARY KEY (`id`)

) ENGINE=InnoDB AUTO_INCREMENT=141 DEFAULT CHARSET=utf8 COMMENT='评论管理表';

 

/*Data for the table `tbcommentmanager` */

猜你喜欢

转载自blog.csdn.net/bigwatermel/article/details/82024309