From b43019a59f7a528275353f037eda76758080e83b Mon Sep 17 00:00:00 2001 From: p7ajvprf6 <1062535119@qq.com> Date: Tue, 12 Oct 2021 10:04:29 +0800 Subject: [PATCH] ADD file via upload --- Goods.java | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 Goods.java diff --git a/Goods.java b/Goods.java new file mode 100644 index 0000000..e44a605 --- /dev/null +++ b/Goods.java @@ -0,0 +1,84 @@ +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 + '\'' + + '}'; + } +}