# blog **Repository Path**: plyliu/blog ## Basic Information - **Project Name**: blog - **Description**: 基于springboot的博客项目 - **Primary Language**: Java - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-02 - **Last Updated**: 2021-04-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 实体 用户 - id (int nonnull) - name (String(0-20) nonnull) - loginName (String(0-20) nonnull) - password (nonnull) - gender (int 0, 1) - phoneNumber (String 0, 1) - email (String nonnull) - links (String ) - updateTime (datetime default current time) 文章 - id (int 自增 nonnull) - 标题文字 (String nonnull) - 作者id (int nonnull) - 发布时间 (datetime default curTime) - 更新时间 (datetime nonnull) - 标签id (int nonnull) - 分类id (int nonnull) - 简介 (String) - 阅读数 (int default 0) - 图像内容 (String 本地存储) - 文字内容 (String nonnull) - 是否草稿 (int default 0) - 关联评论id (int) - 是否允许评论 (int default 1) - 是否删除 (int default 0) 评论 - id (int 自增 nonnull) - 回复的评论的id (int) - 发布者id (int nonnull) - 文章id (int nonnull) - 文字内容 (String nonnull) - 发布时间 (datetime default curTime) 分类 - id (int 自增 nonnull) - name (String nonnull) role - id (int 自增 nonnull) - 角色名 (String nonnull) user_role - id (int 自增 nonnull) - 用户id (int nonnull) - 角色id (int nonnull) permission - id (int 自增 nonnull) - 权限名 (int nonnull) - 资源地址 (int nonnull) role_permission - id (int 自增 nonnull) - 角色id (int nonnull) - 权限id (int nonnull) ## 技术选型 springboot springboot-data-jpa hibernate-validate mysql thymeleaf bootstrap