设计舆情监控系统数据库的表
时间: 2023-05-24 13:04:12 浏览: 63
1. 文章表(article)
- 文章ID(article_id)
- 文章标题(title)
- 文章内容(content)
- 发布时间(publish_time)
- 点击量(hits)
- 点赞量(likes)
- 评论量(comments)
2. 评论表(comment)
- 评论ID(comment_id)
- 文章ID(article_id)
- 评论内容(content)
- 评论人(commenter)
- 评论时间(comment_time)
- 点赞量(likes)
3. 用户表(user)
- 用户ID(user_id)
- 用户名(username)
- 密码(password)
- 邮箱(email)
- 手机号(phone)
- 创建时间(create_time)
4. 分类表(category)
- 分类ID(category_id)
- 分类名称(category_name)
- 上级分类(parent_category)
5. 标签表(tag)
- 标签ID(tag_id)
- 标签名称(tag_name)
6. 文章与分类关系表(article_category)
- 文章ID(article_id)
- 分类ID(category_id)
7. 文章与标签关系表(article_tag)
- 文章ID(article_id)
- 标签ID(tag_id)
8. 热门文章表(hot_article)
- 文章ID(article_id)
- 文章标题(title)
- 点击量(hits)
- 点赞量(likes)
9. 用户与文章关系表(user_article)
- 用户ID(user_id)
- 文章ID(article_id)
- 操作类型(operation_type,如收藏、点赞、评论)
10. 敏感词表(sensitive_word)
- 敏感词ID(word_id)
- 敏感词(word)
11. 舆情分析结果表(opinion_analysis)
- 分析结果ID(analysis_id)
- 文章ID(article_id)
- 分析时间(analysis_time)
- 情感倾向(sentiment)
- 关键词数量(keyword_count)
- 正面关键词(positive_keyword)
- 负面关键词(negative_keyword)