Giter Site home page Giter Site logo

studentscore's Introduction

需要的项目加QQ 80213251 或者 79120063 或者微信 346127357吧

完整的设计报告在后面,请下载视频查看

喜欢就点一下star哟,谢谢亲的支持

Java版本:1.8
数据库:MySQL
框架:Spring + Spring MVC + MyBatis
服务器:Tomcat
前端解析框架:Thymeleaf
开发工具:Idea 2017
版本管理工具:Maven
版本控制工具:GitHub

3 详细设计

3.1 数据字典

用户信息表

字段名 字段类型 是否可为空 备注
Id Int(11) 主键
Modify Datetime 修改时间
Username Varchar(50) 用户昵称
Phone Char(11) 用户手机号码
realName Varchar(20) 用户真实姓名
Clazz Varchar(20) 用户所在班级
Sno Char(12) 用户学号
Dormitory Varchar(20) 宿舍号
Gender Char(2) 性别
Createtime Datetime 创建时间
Avatar Varchar(200) 头像

用户密码表

字段名 字段类型 是否可为空 备注
Id Int 主键
Modify Datetime 修改时间
Password Varchar(24) 用户密码
Uid Int 用户id

商品表

字段名 字段类型 是否可为空 备注
Id Int(11) 主键
Modify Datetime 修改时间
Name Varchar(50) 商品名称
Level Int 商品成色
Remark Varchar(255) 商品详细信息
Price Decimal(0.00) 商品价格
Sort Int 商品类别
Count Int 商品数量
Display Int 商品是否被下架
Transaction Int 交易方式
Sales Int 商品销量
Uid Int 发表的用户id
Image Varchar(255) 商品的图片地址

商品留言

字段名 字段类型 是否可为空 备注
Id Int(11) 主键
Modify Datetime 修改时间
Sid Int 商品的id
Content Varchar(122) 留言内容
Display Int 是否可见
Uid Int 评论的用户id

我的收藏

字段名 字段类型 是否可为空 备注
Id Int(11) 主键
Modify Datetime 修改时间
Sid Int 商品的id
Display Int 是否可见
Uid Int 评论的用户id

求购商品

字段名 字段类型 是否可为空 备注
Id Int(11) 主键
Modify Datetime 修改时间
Name Varchar(50) 求购商品名称
Remark Varchar(255) 求购商品详情
Price Decimal(0.00) 求购商品价格
Sort Int 求购商品类别
Count Int 求购商品数量
Display Int 信息是否被删除
Transaction Int 交易方式
Uid Int 发表的用户id
Image Varchar(255) 商品的图片地址

求购商品留言

字段名 字段类型 是否可为空 备注
Id Int(11) 主键
Modify Datetime 修改时间
Qid Int 求购商品的id
Content Varchar(122) 留言内容
Display Int 是否可见
Uid Int 评论的用户id

我发布的商品

字段名 字段类型 是否可为空 备注
Id Int(11) 主键
Modify Datetime 修改时间
Display Int 是否被删除
Uid Int 用户id
Sid Int 对应商品id

我求购的商品

字段名 字段类型 是否可为空 备注
Id Int(11) 主键
Modify Datetime 修改时间
Display Int 是否被删除
Uid Int 用户id
Qid Int 求购商品id

已购买的商品

字段名 字段类型 是否可为空 备注
Id Int(11) 主键
Modify Datetime 修改时间
State Int 商品当前的状态
Uid Int 用户id
Sid Int 商品id
Quantity Int 商品数量

购物车

字段名 字段类型 是否可为空 备注
Id Int(11) 主键
Modify Datetime 修改时间
Display Int 商品是否被删除
Uid Int 用户id
Sid Int 商品id
Quantity Int 商品数量

studentscore's People

Contributors

21503882 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.