游戏王集换式交易系统(商家)
实体:卡牌,商家,玩家
商家实体类:
public class Main {
private int id;
private String name;
private String address;
private String phone;
private String email;
public Main(int id, String name, String address, String phone, String email) {
this.id = id;
this.name = name;//商家名字
this.address = address;//地址信息
this.phone = phone;//电话号码信息存储
this.email = email;//电子邮箱
}
// getters and setters
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
}
浙公网安备 33010602011771号