MCPcopy Create free account
hub / github.com/EthanWang-cn/JavaWeb_Mall / Goods

Class Goods

src/main/java/smbms/pojo/Goods.java:4–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3
4public class Goods {
5 private int gid;//商品id
6 private String gprice;//商品价格
7 private String gname;//商品名称
8 private String gurl;//商品url
9 private int glist_id;//商品分类id
10 private String gdesc;
11
12 public Goods() {
13 }
14
15 public String getGdesc() {
16 return gdesc;
17 }
18
19 public void setGdesc(String gdesc) {
20 this.gdesc = gdesc;
21 }
22
23 @Override
24 public String toString() {
25 return "Goods{" +
26 "gid=" + gid +
27 ", gprice='" + gprice + '\'' +
28 ", gname='" + gname + '\'' +
29 ", gurl='" + gurl + '\'' +
30 ", glist_id=" + glist_id +
31 ", gdesc='" + gdesc + '\'' +
32 '}';
33 }
34
35 public int getGid() {
36 return gid;
37 }
38
39 public void setGid(int gid) {
40 this.gid = gid;
41 }
42
43 public String getGprice() {
44 return gprice;
45 }
46
47 public void setGprice(String gprice) {
48 this.gprice = gprice;
49 }
50
51 public String getGname() {
52 return gname;
53 }
54
55 public void setGname(String gname) {
56 this.gname = gname;
57 }
58
59 public String getGurl() {
60 return gurl;
61 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected