使用 UMLet 建模

1、使用类图,分别对 Asg_RH 文档中 Make Reservation 用例以及 Payment 用例开展领域建模。然后,根据上述模型,给出建议的数据表以及主要字段,特别是主键和外键

About Asg_RH Reservation

  • Country(ID/Key, Name)
  • City(ID/Key, Name)
  • Avenue(ID/Key,Name)
  • Location(ID/Key, CountryID/Fkey, CityID/Fkey, AvenueID/Fkey)
  • Hotel(ID/Key, Name, LocationID/Fkey, Address)
  • RoomConditions(ID/Key, HotelID/Fkey, RoomNumber, Status, GuestID)
  • Guest(ID/key, Name, Age, Type, IdentityNumber)
  • User(ID/key, UserName, Password, NickName)
  • Reservation(ID/key, UserID/Fkey, RoomID/Fkey, CheckIn, CheckOut, Details(NumberOfAdults, NumberOfChildren…) )

2、使用 UML State Model,对每个订单对象生命周期建模

建模对象: 参考 Asg_RH 文档, 对 Reservation/Order 对象建模。
建模要求: 参考练习不能提供足够信息帮助你对订单对象建模,请参考现在 定旅馆 的旅游网站,尽可能分析围绕订单发生的各种情况,直到订单通过销售事件(柜台销售)结束订单。
About Asg_RH Reservation

相关文章:

  • 2022-01-01
  • 2021-07-16
  • 2021-09-11
  • 2021-04-05
  • 2021-05-10
  • 2021-09-08
猜你喜欢
  • 2021-09-22
  • 2021-09-30
  • 2022-12-23
  • 2021-04-28
  • 2021-09-13
  • 2021-11-15
  • 2022-01-23
相关资源
相似解决方案