You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hunjianghu/数据库设计表

42 lines
714 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

User表:
UsedID(主键)
UserName
总金额
用户头像
寄送信息:(单个用户可以对应到多个地址)
MessageId(主键)
UserId(主键)
Address
tel-phone
封面展示:(每一本书对应一张需要展示的图片)
bookId(主键)
Image
Book表:
BookId(主键)
BookName
价格
Author
引言
大分类
简介表:(反正简介不会超过太多张对吧)
bookId(主键)
引言(这样我们经过排序之后就可以展示书本简介)
简介图片
购物车:
UserId(主键)
BookId(主键)
数量
订单表:(我们甚至可以由这个计算出每本书销售数量)
UserId(主键)
MessageId(主键)
BookId(主键)
Statue待付款,待发货,待收货,待评价,订单已经完成,退货中