The Link Your Class | https://bbs.csdn.net/forums/MUEE308FZ?category=0 |
---|---|
The Link of Requirement of This Assignment | LAB 9 Object-oriented Modeling and Design with UML-CSDN社区 |
MU STU ID and FZU STU ID | 831901124& 19105801 |
The Aim of This Assignment | Improve the understanding of UML |
Requirement
Question
Customer: consumption, contribution to staff wages
Rewards: by the boss low price invited to build live broadcast popularity, improve flow to attract customers.
Boss: the main beneficiaries as well as emergency treatment and after-sale service in special cases.
Q2
2.
Q3
Anchor: Daily introduction of advantages and disadvantages of products and answer customers' questions
Keqing coser: Responsible for attracting customers, making more male or female customers stay in the studio with her graceful dancing, and developing from potential customers to actual customers.
Tipper: Create heat for the studio, so that their studio can be placed in a more prominent position by the live broadcast platform
Boss: mainly responsible for collecting money and dealing with customers' after-sales problems, usually do not show up.
Customers: are attracted to various elements and consume.
Q4
Q5
The open closed principle
Q6
Q7
public class Goods {
public goods;
public price;
};
public BOSS {
private dancer;
private waterarmy;
private seller;
Private customer;
};
private class seller:public boss{
protected Name;
private LiveSell(Good GoodName){
};
private class dancer:public boss{
protected Name;
private dance(body beautiful){
};
private class waterarmy:public boss{
protected Name;
private Buy(goods money) {
};
private class customer:public boss{
protected Name;
private Buy(goods money) {
};、
private Watch(Seller SetStudio){
};
}
public class seller{
private:introduction;
private:answer;
private sellGood(Goods ){
}
public class dancer{
private:dance;
private:body;
private dance(body ){
}
public class waterarmy{
private charge:;
private:money;
private fake(heat ){
}
请自己实现作业。