系统分析与设计--作业九
作者:互联网
使用 UMLet 建模
1、使用类图,分别对 Asg_RH 文档中 Make Reservation 用例以及 Payment 用例开展领域建模。然后,根据上述模型,给出建议的数据表以及主要字段,特别是主键和外键
- Travellers(ID/key,name,email-address)
- Reservation(ID/key,TravellersID/Fkey,date,time,number of nights)
- Hotel(ID/key,Loc-code/Fkey,name,stars,address,brief-intr,favourites,low-price,rating,max-discount)
- Reservation Item(ID/key,HotelID/Fkey,type,check in date, number of nights,number of adults,number of children)
- Room(ID/key,HotelID/Fkey,ReservationItemID/Fkey,type,date,isAvailable,price)
- RoomDescription(ID/key,RoomID/Fkey,type,total,list-Price,description)
- Travellers(ID/key,name,email-address)
- Reservation(ID/key,TravellersID/Fkey,date,time,number of nights)
- CreditCard(ID/key,TravellersID/Fkey,type)
- CardDetails(ID/key,CreditCardID/Fkey,number,securityCode,expiryDate)
- Payment(ID/key,ReservationID/Fkey,date,time,total)
2、使用 UML State Model,对每个订单对象生命周期建模
标签:Reservation,作业,number,系统分析,key,Fkey,date,设计,ID 来源: https://blog.csdn.net/qq_36335657/article/details/89844551