话不多说,下面表格是项目开发中用到的实体集以及表格Name
实体创建     表格创建

Area 区域

Area
实体 areaId areaName priority createTime lastEditTime
表格 area_id area_name priority create_time last_edit_time

HeadLine 头条 (用做首页滚动

HeadLine
实体 lineId lineName lineLink lineImg priority
表格 line_id line_name line_link line_img priority
实体 enableStatus createTime lastEditTime
表格 enable_status create_time last_edit_time

PersonInfo 个人信息

PersonInfo
实体 userId name profileImg email gender
表格 user_id name profile_img email gender
实体 enableStatus userType createTime lastEditTime
表格 enable_status user_type create_time last_edit_time

LocalAuth 本地用户

LocalAuth
实体 localAuthId personInfo username password
表格 local_auth_id user_id username password
实体 createTime lastEditTime
表格 create_time last_edit_time

WechatAuth 微信用户

WechatAuth
实体 wechatAuthId personInfo openId createTime
表格 wechat_auth_id user_id open_id create_time

ShopCategory 店铺类别

ShopCategory
实体 shopCategoryId shopCategoryName shopCategoryDesc
表格 shop_category_id shop_category_name shop_category_desc
实体 shopCategoryImg priority parent
表格 shop_category_img priority parent_id
实体 createTime lastEditTime
表格 create_time last_edit_time

Shop 商铺

Shop
实体 shopId shopName shopDesc area enableStatus
表格 shop_id shop_name shop_desc area_id enable_status
实体 shopAddr phone shopImg priority shopCategory_id
表格 shop_addr phone shop_img priority shop_category_id
实体 createTime lastEditTime advice owner
表格 create_time last_edit_time advice owner_id

ProductCategory 商品种类

商品种类
实体 shopId productCategoryId productCategoryName
表格 shop_id product_category_id product_category_name
实体 priority createTime
表格 priority create_time

Product 商品

商品
实体 productId shop productName productDesc
表格 product_id shop_id product_name product_desc
实体 imgAddr normalPrice promotionPrice productCategory
表格 img_addr normal_price promotion_price product_category_id
实体 priority createTime lastEditTime enableStatus
表格 priority create_time last_edit_time enable_status
实体 productImgList
表格 一对多

ProductImg 商品图片

商品
实体 productImgId productId imgAddr imgDesc
表格 product_img_id product_id img_addr img_desc
实体 priority createTime
表格 priority create_time

SSM项目开发中的实体定义以及MySQL表格设计的更多相关文章

  1. 项目开发中的一些注意事项以及技巧总结 基于Repository模式设计项目架构—你可以参考的项目架构设计 Asp.Net Core中使用RSA加密 EF Core中的多对多映射如何实现? asp.net core下的如何给网站做安全设置 获取服务端https证书 Js异常捕获

    项目开发中的一些注意事项以及技巧总结   1.jquery采用ajax向后端请求时,MVC框架并不能返回View的数据,也就是一般我们使用View().PartialView()等,只能返回json以 ...

  2. Java项目开发中实现分页的三种方式一篇包会

    前言   Java项目开发中经常要用到分页功能,现在普遍使用SpringBoot进行快速开发,而数据层主要整合SpringDataJPA和MyBatis两种框架,这两种框架都提供了相应的分页工具,使用 ...

  3. Angular 项目开发中父子组件传参

    在项目开发中经常会遇到 组件之间传参的问题.今天总结下在使用angular的项目中父子组件传参的问题: 1.父组件向子组件传参: 然后在父组件中 然后在父组件的html中 然后就可以在子组件中使用了 ...

  4. 团队项目开发中,常见的版本控制有svn,git

    团队项目开发中,常见的版本控制有svn,git

  5. SSM项目问题中遇到 ArrayList添加元素的问题

    记录项目开发中 一次有趣的debug经历 本来是在做单元测试的,但是发现如下代码 有问题.. ProductCategory p = new ProductCategory(); for (int i ...

  6. 003android初级篇之【转】Android开发中颜色的定义方法

    正好用到颜色的定义,但脑子里没有记住具体,转载一篇加强印象 1.使用Color类的常量,如: int color = Color.BLUE; // 创建一个蓝色 是使用Android提供的颜色 int ...

  7. 《Maven在Java项目开发中的应用》论文笔记(十七)

    标题:Maven在Java项目开发中的应用 一.基本信息 时间:2019 来源:山西农业大学 关键词:Maven:Java Web:仓库:开发人员:极限编程; 二.研究内容 1.Maven 基本原理概 ...

  8. 炼金术(1): 识别项目开发中的ProtoType、Demo、MVP

    软件开发是很分裂的,只有不断使用原则和规律,才能带来质量. 只要不是玩具性质的项目,项目应该可以大概划分为0-1,1-10,10-100,100-1000四个种重要阶段.其中,0-1是原型验证性的:1 ...

  9. 项目开发中的git简单使用

    原文地址: https://www.zhuyilong.fun/tech/the-blog-git.html 示例远程仓库地址: https://github.com/zhu-longge/gitWo ...

随机推荐

  1. Intel 80386 微处理器的存储器管理

    一.存储器的管理       存储器的管理是一种硬件机制,微处理器在总线地址上对物理存储器进行寻址.但是,为了给程序提供比物理存储器容量更大的空间,就引入了虚拟存储器的概念,它在外存(比如磁盘)的支持 ...

  2. 入坑tensorflow

    win10 CPU版,anaconda prompt命令行一句话,pip install --upgrade tensorflow搞定.比caffe好装一万倍. gpu版没装成,首先这个笔记本没装cu ...

  3. kalinux 换源

    1.系统使用第一步建议先换源,否则将出现很多未知问题 #以下两个2选1,打开要编辑的源 sudo leafpad /etc/apt/sources.list sudo gedit /etc/apt/s ...

  4. APIView源码解析

    1.首先安装pip install djangorestframework 2.导入from rest_framework.views import APIView class Courses(API ...

  5. Struts2输入校验(XML方式)

    本章主要介绍struts2的XML配置方式输入校验.以下将结合一个实例程序进行说明. 代码结构: 关键代码: RegistAction.javapackage com.alfred.regist.ac ...

  6. Hive的join表连接查询的一些注意事项

    Hive支持的表连接查询的语法: join_table: table_reference JOIN table_factor [join_condition] | table_reference {L ...

  7. hdu1599 find the mincost route

    题目链接 floyd找最小环 很好理解 #include<algorithm> #include<iostream> #include<cstdlib> #incl ...

  8. 直播协议的选择:RTMP vs. HLS

    文章转自:直播协议的选择:RTMP vs. HLS 前言 随着直播业务的兴起,越来越多的直播平台开始涌现,这火热的程度好像一个应用不带上直播业务出来都不好意思跟人打招呼.想要做一个直播业务,主要包括三 ...

  9. web前端学习路线:HTML5教程之前端模块化开发

    1. 命名冲突 首先从一个简单的习惯开始. 由于以前一直做 JavaEE 开发的缘故,在 JavaScript 开发中,我已经习惯将项目中的一些通用功能抽象出来,形成一个个的独立函数,以便于实现代码复 ...

  10. Java学习技术分享:Java中的原子操作

    学习java需要有一套完整的学习线路,需要有条理性,当下学习java已经有一段时间了,由当初的懵逼状态逐渐好转,也逐渐养成了写技术学习笔记的习惯,今天总结了一下java中的原子操作. 1.Java中的 ...