You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
1.7 KiB
85 lines
1.7 KiB
package com.campus.domain;
|
|
|
|
import com.sun.org.apache.xpath.internal.operations.Bool;
|
|
|
|
import java.util.Arrays;
|
|
|
|
public class Goods {
|
|
private String username;
|
|
private String type;
|
|
private String commit;
|
|
private String price;
|
|
private int gid;
|
|
private String img;
|
|
private String phone;
|
|
|
|
public String getUsername() {
|
|
return username;
|
|
}
|
|
|
|
public void setUsername(String username) {
|
|
this.username = username;
|
|
}
|
|
|
|
public String getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(String type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public String getCommit() {
|
|
return commit;
|
|
}
|
|
|
|
public void setCommit(String commit) {
|
|
this.commit = commit;
|
|
}
|
|
|
|
public String getPrice() {
|
|
return price;
|
|
}
|
|
|
|
public void setPrice(String price) {
|
|
this.price = price;
|
|
}
|
|
|
|
public int getGid() {
|
|
return gid;
|
|
}
|
|
|
|
public void setGid(int gid) {
|
|
this.gid = gid;
|
|
}
|
|
|
|
public String getImg() {
|
|
return img;
|
|
}
|
|
|
|
public void setImg(String img) {
|
|
this.img = img;
|
|
}
|
|
|
|
public String getPhone() {
|
|
return phone;
|
|
}
|
|
|
|
public void setPhone(String phone) {
|
|
this.phone = phone;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "Goods{" +
|
|
"username='" + username + '\'' +
|
|
", type='" + type + '\'' +
|
|
", commit='" + commit + '\'' +
|
|
", price='" + price + '\'' +
|
|
", gid=" + gid +
|
|
", img='" + img + '\'' +
|
|
", phone='" + phone + '\'' +
|
|
'}';
|
|
}
|
|
}
|