Entities and their attributes for the E-Commerce Project:
1. BookTitle(Strong Entity):
ATTRIBUTEStype VALUE TYPE VALUE CONTENTS KEY TYPE
ISBN single value Primary
Title single value
Author Multi-value (Author1, Author2, etc.)
PublisherId composite value ("P", Number) Foreign
Edition single value
DateOfPublication composite value (Year, Month, Day)
Price single value
Description single value
QuantityInStore single value
CategoryId composite value ("T", Number) Foreign
PromotionDiscount single value
2. Category(Strong Entity):
ATTRIBUTES VALUE TYPE VALUE CONTENTS KEY TYPE
CategoryId composite value ("T", Number) Primary
CategoryName single value
3. Customer(Strong Entity):
ATTRIBUTES VALUE TYPE VALUE CONTENTS KEY TYPE
CustomerId composite value ("C", Number) Primary
Email composite value (mail_id,”@”,domain)
Name composite value (Fname, Mname, Lname)
Address composite value (Number, Street, City, State, Country)
PinCode single value
PhoneNumber composite value (AreaCode, Number)
Password single value
4. Publisher(Strong Entity):
ATTRIBUTES VALUE TYPE VALUE CONTENTS KEY TYPE
PublisherId composite value ("P", Number) Primary
Name single value
Address composite value (Number, Street, City, State, Country)
PinCode single value
PhoneNumber composite value (AreaCode, Number)
5. Promotion(Weak Entity):
ATTRIBUTES VALUE TYPE VALUE CONTENTS KEY TYPE
ISBN single value
EndDate composite value (Year, Month, Day)
6. Order(Strong Entity):
ATTRIBUTES VALUE TYPE VALUE CONTENTS KEY TYPE
OrderId composite value ("O", Number) Primary
CustomerId composite value ("C", Number) Foreign
Address composite value (Number, Street, City, State, Country)
PaymentId single value ("P", Number) Foreign
OrderDate composite value (Year, Month, Day)
ShipDate composite value (Year, Month, Day)
AgentId composite value ("A", Number) Foreign
TotalCost single value
7. PaymentDetail(Weak Entity):
ATTRIBUTES VALUE TYPE VALUE CONTENTS KEY TYPE
PaymentId single value ("P", Number) Primary
ExpiryDate composite value (Year, Month, Day)
PaymentMethod single value
PaymentCardNumber single value
CustomerId composite value ("C", Number) Foreign
8. ShippingDetail(Strong Entity):
ATTRIBUTES VALUE TYPE VALUE CONTENTS KEY TYPE
ShipId composite value ("S", Number) Primary
OrderId composite value ("O", Number) Foreign
ShipDate composite value (Year, Month, Day)
AgentId composite value ("A", Number) Foreign
9. ShippingAgency(Strong Entity):
ATTRIBUTES VALUE TYPE VALUE CONTENTS KEY TYPE
AgentId composite value ("A", Number) Primary
AgentName single value
AgentAddress composite value (Number, Street, City, State, Country)
PinCode single value
PhoneNumber composite value (AreaCode, Number)
10. FulfilledOrder(Weak Entity):
ATTRIBUTES VALUE TYPE VALUE CONTENTS KEY TYPE
OrderId composite value ("O", Number) Foreign
ISBN single value Foreign
Quantity single value
ShipId composite value ("S", Number) Foreign
DeliveryDate composite value (Year, Month, Day)
四散
- 粉丝: 67
- 资源: 1万+
最新资源
- 基于SpringBoot的城市公交管理系统(编号:0638680).zip
- 健康中国2030框架下智慧医药医疗博览会方案
- 基于springboot的房屋租赁管理系统(编号:07690162).zip
- ZZU数据库原理实验报告
- 基于SpringBoot的农业收成管理系统(编号:09468111).zip
- 基于SpringBoot的社区流浪动物救助系统(编号:34219152).zip
- 基于SpringBoot的特殊儿童家长教育能力提升.zip
- 基于Springboot的实验报告系统(编号:82862159).zip
- 基于SpringBoot的小区运动中心预约管理系统的设计与实现_1p95h88y_210-wx-.zip
- 售酒物流平台需求规格说明书-核心功能与实现方案
- 生化技术:新型加热器用平行软线的材料配方与制备方法
- c-programming-a-modern-approach-second-edition
- 艾利和iriver Astell&Kern SP3000 V1.17升级固件
- 垃圾废物检测1-YOLO(v5至v11)、COCO、CreateML、Paligemma、VOC数据集合集.rar
- 基于java实现堆排序
- 喜庆吉祥迎新年.mp3
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
评论0