文章表(article)
| 文章表(article) | ||
|---|---|---|
| 变量名 | 类型 | 注释 |
| id | Integer | 主键id |
| userId | Integer | 作者id |
| categoryId | Integer | 文章分类id |
| articleCover | String | 文章缩略图 |
| articleTitle | String | 标题 |
| articleContent | String | 内容 |
| createTime | Date | 发表时间 |
| updateTime | Date | 更新时间 |
| isTop | Integer | 是否置顶(0-否 1-是) |
| isDraft | Integer | 是否为草稿(0-否 1-是) |
| isDelete | Integer | 状态码(0-否 1-是) |
文章和标签关联(article_tag)
| 文章和标签关联(article_tag) | ||
|---|---|---|
| 变量名 | 类型 | 注释 |
| id | Integer | 主键id |
| articleId | Integer | 文章id |
| tagId | Integer | 标签id |
分类(category)
| 分类(category) | ||
|---|---|---|
| 变量名 | 类型 | 注释 |
| id | Integer | 主键id |
| articleId | Integer | 文章id |
| tagId | Integer | 标签id |
评论(comment)
| 评论(comment) | ||
|---|---|---|
| 变量名 | 类型 | 注释 |
| id | Integer | 主键id |
| userId | Integer | 评论用户id |
| replyId | Integer | 回复用户id |
| articleId | Integer | 评论文章id |
| commentContent | String | 评论内容 |
| createTime | Date | 评论时间 |
| parentId | Integer | 父评论id |
| isDelete | Integer | 状态码 |
留言(message)
| 评论(comment) | ||
|---|---|---|
| 变量名 | 类型 | 注释 |
| id | Integer | 主键id |
| ipUser | String | 用户ip |
| ipSource | String | 用户地址 |
| nickname | String | 昵称 |
| avatar | String | 头像 |
| messageContent | String | 留言内容 |
| time | Integer | 弹幕速度 |
| createTime | Date | 留言时间 |
标签(tag)
| 标签(tag) | ||
|---|---|---|
| 变量名 | 类型 | 注释 |
| id | Integer | 主键id |
| tagName | String | 标签名 |
| createTime | Date | 创建时间 |
用户账号(user_auth)
| 用户账号(user_auth) | ||
|---|---|---|
| 变量名 | 类型 | 注释 |
| id | Integer | 主键id |
| userInfoId | Integer | 用户信息id |
| username | String | 用户名 |
| password | String | 密码 |
| loginType | Integer | 登录类型 |
| ipUserLogin | String | 用户登录ip |
| ipSource | String | ip来源 |
| createTime | Date | 创建时间 |
| lastLoginTime | Date | 最近登录时间 |
用户信息(user_info)
| 用户信息(user_info) | ||
|---|---|---|
| 变量名 | 类型 | 注释 |
| id | Integer | 主键id |
| String | 邮箱号 | |
| nickname | String | 用户昵称 |
| avatar | String | 用户头像 |
| intro | Integer | 用户简介 |
| webSite | String | 个人网站 |
| isDisable | String | 是否禁言(0-否 1-是) |
| createTime | Date | 创建时间 |
| updateTime | Date | 更新时间 |
角色(role)
| 角色(role) | ||
|---|---|---|
| 变量名 | 类型 | 注释 |
| id | Integer | 主键id |
| roleName | String | 角色名 |
| roleLabel | String | 角色描述 |
| createTime | Date | 创建时间 |
| updateTime | Date | 更新时间 |
| isDisable | Integer | 是否禁用(0-否 1-是) |
用户角色(user_role)
| 用户角色(user_role) | ||
|---|---|---|
| 变量名 | 类型 | 注释 |
| id | Integer | 主键id |
| roleName | String | 角色名 |
| roleLabel | String | 角色描述 |
| createTime | Date | 创建时间 |
| updateTime | Date | 更新时间 |
| isDisable | Integer | 是否禁用(0-否 1-是) |
权限(resource)
| 权限(resource) | ||
|---|---|---|
| 变量名 | 类型 | 注释 |
| id | Integer | 主键id |
| resourceName | String | 权限名 |
| url | String | 权限路径 |
| requestMethod | String | 请求方式 |
| parentId | Integer | 父权限id |
| createTime | Date | 创建时间 |
| updateTime | Date | 更新时间 |
| isDisable | Integer | 是否禁用(0-否 1-是) |
| isAnonymous | Integer | 是否匿名访问(0-否 1-是) |
友链列表(friend_link)
| 友链列表(friend_link) | ||
|---|---|---|
| 变量名 | 类型 | 注释 |
| id | Integer | 主键id |
| linkName | String | 链接名 |
| linkAvatar | String | 链接头像 |
| linkAddress | String | 链接地址 |
| linkIntro | String | 介绍 |
| createTime | Date | 创建时间 |
菜单列表(menu)
| 菜单列表(menu) | ||
|---|---|---|
| 变量名 | 类型 | 注释 |
| id | Integer | 主键id |
| name | String | 菜单名 |
| path | String | 路径 |
| component | String | 组件 |
| icon | String | icon |
| createTime | Date | 创建时间 |
| updateTime | Date | 更新时间 |
| orderNum | Integer | 排序 |
| parentId | Integer | 父id |
| isDisable | Integer | 是否禁用(0-否 1-是) |
| isHidden | Integer | 是否隐藏(0-否 1-是) |
日志(operation_log)
| 日志(operation_log) | ||
|---|---|---|
| 变量名 | 类型 | 注释 |
| id | Integer | 主键id |
| optModule | String | 操作模块 |
| optUrl | String | 操作路径 |
| optType | String | 操作类型 |
| optMethod | String | 操作方法 |
| optDesc | String | 操作描述 |
| requestMethod | String | 请求方式 |
| requestParam | String | 请求参数 |
| responseData | String | 返回数据 |
| userId | Integer | 用户id |
| nickname | String | 用户昵称 |
| ipUserLogin | String | 用户登录ip |
| ipSource | String | ip来源 |
| createTime | Date | 创建时间 |
角色菜单(role_menu)
| 角色菜单(role_menu) | ||
|---|---|---|
| 变量名 | 类型 | 注释 |
| id | Integer | 主键id |
| roleId | Integer | 角色id |
| menuId | Integer | 菜单id |
角色权限(role_resource)
| 角色权限(role_resource) | ||
|---|---|---|
| 变量名 | 类型 | 注释 |
| id | Integer | 主键id |
| roleId | Integer | 角色id |
| resourceId | Integer | 资源id |
网站访问量(page_view)
| 网站访问量(page_view) | ||
|---|---|---|
| 变量名 | 类型 | 注释 |
| id | Integer | 主键id |
| createTime | Integer | 时间 |
| viewsCount | Integer | 访问量 |
