183
社区成员
发帖
与我相关
我的任务
分享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.
Your Answer:
Commodity host is the actor who help to market goods.
Customer is the actor who maybe will purchase goods.
Merchant is the actor who can hire host and delivering goods.
Administrator is the actor who responsible for maintaining order in the room and creating harmonious, regular live rooms.
Aftermarket is the actor who handles the product, answers the customer question.
Your Answer:

Your Answer:
Name: Enter The Live Room
Description:
Name: Buy Goods
Description:
Name: Ask Questions About Merchandise
Description:
Name: Manage The Broadcast Room
Description:
Name:Add Or Delete Items
Description:
Name: Distributing Goods
Description:
Your Answer:This is a sequence diagram and activity diagram of the purchase of goods.
activity diagram:

sequence diagram:

Your Answer:

Use Single Responsibility Principle.
Your Answer:This is a state diagram of placing an order and receiving the goods

Your Answer:
Merchandise_Management_Window
import java.util.*;
public class Merchandise_Management_Window {
public Merchandise_Management_Window() {
}
public void User_Name;
public void Goods;
public void Put() {
// TODO implement here
}
public void Modification() {
// TODO implement here
}
public void Delete() {
// TODO implement here
}
}
Indent
import java.util.*;
public class Indent {
public Indent() {
}
public void Number;
public void Message;
public void User;
public void Time;
public void Money;
}
Goods
import java.util.*;
public class Goods {
public Goods() {
}
public void Name;
public void Money;
public void Picture;
}
Merchant
import java.util.*;
public class Merchant extends User {
public Merchant() {
}
public void Name;
public void Commodity_Management() {
// TODO implement here
}
public void Refund() {
// TODO implement here
}
}
Payment_Window
import java.util.*;
public class Payment_Window {
public Payment_Window() {
}
public void indent;
public void Money;
public void Pay() {
// TODO implement here
}
}
Refund_Window
import java.util.*;
public class Refund_Window {
public Refund_Window() {
}
public void Number;
public void Refund() {
// TODO implement here
}
}
User
import java.util.*;
public class User {
public User() {
}
public void User_Name;
public void Account;
public void Password;
public void Log_In() {
// TODO implement here
}
public void Registere() {
// TODO implement here
}
public void Check_Order() {
// TODO implement here
}