SE_homework3
2015-11-06 14:54:34 1 举报
【作业向】看标题识内容,se作业同系列类图。比较粗糙。
作者其他创作
大纲/内容
Car_Company
+name:String-password:String+id:int+conncetion:String
+add_car()+delete_car()+change_car()
Air_Company
+name:String+id:int-password:String+connection:String
+add()+delete()+change()
Airplane
+airline:String+id:int-password:String+price:double+airplane_type+departure_time:date+arrival_time:date+booked:boolen+payed:boolen
+accept_Book(Customer_id):boolen+sell()
Hotel_room
+number:int+price:double+check_in_time:date+check_out_time:date+bed_type:enumeration+room_type:enumeration+amenities:enumeration+booked:boolen+payed:boolen
Adiminister
+id:int-password:String
+add_Hotel()+add_CarCompany()+add_airlineCompany()+delete_Hotel()+delete_CarCompany()+delete_airlineCompany()
Customer
+id:int+name:String-password:String
-book_Hotel(Customer):boolen-book_Airline_Tickets(Customer):boolen-book_Car(Customer):boolen+check()-pay()
Hotel
+name:String+id:int-password:String+location:String+rating:enumeration+connection:String
+add_room()+delete_room()+change_room()
Car
+car_number:String+class:enumeration+make_model:String+rent_price:double+booked:boolen+payed:boolen
+accept_Book(Custemer_id):boolen+sell()
0 条评论
下一页