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
- Please issue your Lab Blog on CSDN.
- The Link of your blog of this lab and This Lab Sheet (This word file) must be submitted to Moodle, or you will lose the score of this Lab. (VERY IMPORTANT: You should submit TWO things)
- Modeling must use professional tools.
- You should EXPLAIN your diagrams in words if necessaryQuestion
Question
- Live-streaming sale, through some Internet platforms, is a new way of service using live-streaming technology for close commodity display, consultation response, and shopping guide. Merchants can open their own live broadcast room, or employ professional anchors to recommend goods. At present, not only many celebrities flock into this field, but some big companies’ executives are also frequently involved. Please try to design a comprehensive live-streaming sale system.
(i) List some actors that interact with this system. Explain the relevance of each actor.
Your Answer
- Anchor: Introduce products to customers.
- Clear: attract customers to increase traffic.
-
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 ){
}