酒店管理系统
2017-05-11 21:14:59 27 举报
酒店管理系统类设计图
作者其他创作
大纲/内容
Order
+Name+Roomnumber
Disorder()
main.cpp
int orderChoice;/\tint orderService;\tint mainChoice;\tint curorder; /\tint queryChoice;\tint foodChoice;\tint viewChoice;\tint menuChoice;\tint mendDingDanChoice;\tint b;
food
char *name; \t\tint price;
《abstract》Order
CreateFoodFactory
CreateFood()
cost
int jiuCancost; \tint waiMaicost;
cost(); \tint getWaiMaicost(); \tint getJiuCancost(); \tvoid addWaiMaicost(double x); void addJiuCancost(double x);
order
int number; int type; \tint fee; \tint bao;char* name;char* phone;char* site;
Customer
-name-tel
CreateCusromerFactory
CreateCustomer()
《abstract》Customer
CreateOrderFactory
CreateOrder()
AdminChange
+username+password
《abstract》Food
foodmaker
int numb;int total;int discout=10;
0 条评论
下一页