话不多说,下面表格是项目开发中用到的实体集以及表格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. Python全栈-day12-day13-函数4

    1.迭代器 1)定义:迭代取值的工具 2)优缺点 优点 a.提供一种不依赖索引取值的方法 b.同时一时刻内存在存在的值只有一个,更加省内存 缺点 a.取值麻烦,只能通过next方法一个一个地往后取 b ...

  2. SEO经验-如何做到新站上线半个月谷歌收录3万

    一个网站在做搜索引擎优化的时候,首先考虑的肯定是百度,这个是毋庸置疑的,毕竟百度占领者差不多七成的搜索市场份额. 第二考虑的是360搜索,这个也是毋庸置疑的,因为360搜索占领者差不多两成的搜索市场份 ...

  3. 谷歌Cookies无法写入

    写Cookies页面加这个ok: Response.AddHeader("P3P", "CP=CAO PSA OUR");

  4. 功能的显著性分析——GO Enrichment Analysis

      Gene Ontology(GO)是基因功能国际标准分类体系.GO富集分析是对差异基因等按GO分类,并对分类结果进行基于离散分布的显著性分析.错判率分析.富集度分析,得到与实验目的有显著联系的.低 ...

  5. python中装饰器修复技术

    python装饰器@wraps作用-修复被装饰后的函数名等属性的改变 Python装饰器(decorator)在实现的时候,被装饰后的函数其实已经是另外一个函数了(函数名等函数属性会发生改变), 为了 ...

  6. SVM支撑向量机原理

    转自:http://blog.csdn.net/v_july_v/article/details/7624837 目录(?)[-] 支持向量机通俗导论理解SVM的三层境界 前言 第一层了解SVM 1分 ...

  7. gitlab提交内容关联到slack通知

    gitlab提交内容关联到slack通知 https://docs.gitlab.com/ee/user/project/integrations/slack.html 首先去slack做相关的设置 ...

  8. spring 事物的一些理解

    推荐一个我认为Spring事物写得很好的文章. 文章链接:http://www.codeceo.com/article/spring-transactions.html  文章作者:码农网 – 吴极心 ...

  9. QT多线程信号和槽参数传递

    写了一个这样的信号 void caculateReady( QList<QString> adds, QList<double> hotV, QList<double&g ...

  10. ucos ii 46个系统API函数解析

    源: ucos ii 46个系统API函数解析