forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGoods.java
More file actions
74 lines (68 loc) · 1.38 KB
/
Goods.java
File metadata and controls
74 lines (68 loc) · 1.38 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
package com.model;
public class Goods {
private Integer ID=Integer.getInteger("-1");
private int typeID=-1;
private String goodsName="";
private String introduce="";
private float price=0f;
private float nowPrice=0f;
private String picture="";
private int newGoods=-1;
private int sale=-1;
public void goods(){
}
public Integer getID(){
return ID;
}
public void setID(Integer ID){
this.ID=ID;
}
public int getTypeID() {
return typeID;
}
public void setTypeID(int typeID) {
this.typeID = typeID;
}
public String getGoodsName(){
return goodsName;
}
public void setGoodsName(String goodsName){
this.goodsName=goodsName;
}
public String getIntroduce(){
return introduce;
}
public void setIntroduce(String introduce){
this.introduce=introduce;
}
public float getPrice(){
return price;
}
public void setPrice(float price){
this.price=price;
}
public float getNowPrice(){
return nowPrice;
}
public void setNowPrice(float nowPrice){
this.nowPrice=nowPrice;
}
public String getPicture(){
return picture;
}
public void setPicture(String picture){
this.picture=picture;
}
public int getNewGoods() {
return newGoods;
}
public void setNewGoods(int newGoods) {
this.newGoods = newGoods;
}
public int getSale() {
return sale;
}
public void setSale(int sale) {
this.sale = sale;
}
}