Goods.java
5.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
package com.w1hd.zzhnc.model;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Id;
public class Goods {
@Id
private Integer id;
private String name;
private String description;
private BigDecimal primePrice;
private BigDecimal price;
private String imageUrl;
private String bannerUrl;
private Date createtime;
private Date updateTime;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
/**
* This method was generated by MyBatis Generator. This method returns the value
* of the database column goods.name
*
* @return the value of goods.name
*
* @mbggenerated Tue Dec 26 15:09:23 CST 2017
*/
public String getName() {
return name;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of
* the database column goods.name
*
* @param name
* the value for goods.name
*
* @mbggenerated Tue Dec 26 15:09:23 CST 2017
*/
public void setName(String name) {
this.name = name == null ? null : name.trim();
}
/**
* This method was generated by MyBatis Generator. This method returns the value
* of the database column goods.description
*
* @return the value of goods.description
*
* @mbggenerated Tue Dec 26 15:09:23 CST 2017
*/
public String getDescription() {
return description;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of
* the database column goods.description
*
* @param description
* the value for goods.description
*
* @mbggenerated Tue Dec 26 15:09:23 CST 2017
*/
public void setDescription(String description) {
this.description = description == null ? null : description.trim();
}
/**
* This method was generated by MyBatis Generator. This method returns the value
* of the database column goods.prime_price
*
* @return the value of goods.prime_price
*
* @mbggenerated Tue Dec 26 15:09:23 CST 2017
*/
public BigDecimal getPrimePrice() {
return primePrice;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of
* the database column goods.prime_price
*
* @param primePrice
* the value for goods.prime_price
*
* @mbggenerated Tue Dec 26 15:09:23 CST 2017
*/
public void setPrimePrice(BigDecimal primePrice) {
this.primePrice = primePrice;
}
/**
* This method was generated by MyBatis Generator. This method returns the value
* of the database column goods.price
*
* @return the value of goods.price
*
* @mbggenerated Tue Dec 26 15:09:23 CST 2017
*/
public BigDecimal getPrice() {
return price;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of
* the database column goods.price
*
* @param price
* the value for goods.price
*
* @mbggenerated Tue Dec 26 15:09:23 CST 2017
*/
public void setPrice(BigDecimal price) {
this.price = price;
}
/**
* This method was generated by MyBatis Generator. This method returns the value
* of the database column goods.image_url
*
* @return the value of goods.image_url
*
* @mbggenerated Tue Dec 26 15:09:23 CST 2017
*/
public String getImageUrl() {
return imageUrl;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of
* the database column goods.image_url
*
* @param imageUrl
* the value for goods.image_url
*
* @mbggenerated Tue Dec 26 15:09:23 CST 2017
*/
public void setImageUrl(String imageUrl) {
this.imageUrl = imageUrl == null ? null : imageUrl.trim();
}
/**
* This method was generated by MyBatis Generator. This method returns the value
* of the database column goods.banner_url
*
* @return the value of goods.banner_url
*
* @mbggenerated Tue Dec 26 15:09:23 CST 2017
*/
public String getBannerUrl() {
return bannerUrl;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of
* the database column goods.banner_url
*
* @param bannerUrl
* the value for goods.banner_url
*
* @mbggenerated Tue Dec 26 15:09:23 CST 2017
*/
public void setBannerUrl(String bannerUrl) {
this.bannerUrl = bannerUrl == null ? null : bannerUrl.trim();
}
/**
* This method was generated by MyBatis Generator. This method returns the value
* of the database column goods.createtime
*
* @return the value of goods.createtime
*
* @mbggenerated Tue Dec 26 15:09:23 CST 2017
*/
public Date getCreatetime() {
return createtime;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of
* the database column goods.createtime
*
* @param createtime
* the value for goods.createtime
*
* @mbggenerated Tue Dec 26 15:09:23 CST 2017
*/
public void setCreatetime(Date createtime) {
this.createtime = createtime;
}
/**
* This method was generated by MyBatis Generator. This method returns the value
* of the database column goods.update_time
*
* @return the value of goods.update_time
*
* @mbggenerated Tue Dec 26 15:09:23 CST 2017
*/
public Date getUpdateTime() {
return updateTime;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of
* the database column goods.update_time
*
* @param updateTime
* the value for goods.update_time
*
* @mbggenerated Tue Dec 26 15:09:23 CST 2017
*/
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
}