-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathBooks.java
More file actions
144 lines (101 loc) · 2.99 KB
/
Books.java
File metadata and controls
144 lines (101 loc) · 2.99 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
package com.bookshop.modle;
import java.util.Date;
public class Books {
private String bId;
private String bPic;
private String bName;
private String bDescription;
private Float bPrice;
private Integer bDiscount;
private String bAuthor;
private String bPress;
private Date bPressTime;
private Date bAddTime;
private String bService;
private Integer bSaleNum;
private Integer bState;
public String getbId() {
return bId;
}
public void setbId(String bId) {
this.bId = bId == null ? null : bId.trim();
}
public String getbPic() {
return bPic;
}
public void setbPic(String bPic) {
this.bPic = bPic == null ? null : bPic.trim();
}
public String getbName() {
return bName;
}
public void setbName(String bName) {
this.bName = bName == null ? null : bName.trim();
}
public String getbDescription() {
return bDescription;
}
public void setbDescription(String bDescription) {
this.bDescription = bDescription == null ? null : bDescription.trim();
}
public Float getbPrice() {
return bPrice;
}
public void setbPrice(Float bPrice) {
this.bPrice = bPrice;
}
public Integer getbDiscount() {
return bDiscount;
}
public void setbDiscount(Integer bDiscount) {
this.bDiscount = bDiscount;
}
public String getbAuthor() {
return bAuthor;
}
public void setbAuthor(String bAuthor) {
this.bAuthor = bAuthor == null ? null : bAuthor.trim();
}
public String getbPress() {
return bPress;
}
public void setbPress(String bPress) {
this.bPress = bPress == null ? null : bPress.trim();
}
public Date getbPressTime() {
return bPressTime;
}
public void setbPressTime(Date bPressTime) {
this.bPressTime = bPressTime;
}
public Date getbAddTime() {
return bAddTime;
}
public void setbAddTime(Date bAddTime) {
this.bAddTime = bAddTime;
}
public String getbService() {
return bService;
}
public void setbService(String bService) {
this.bService = bService == null ? null : bService.trim();
}
public Integer getbSaleNum() {
return bSaleNum;
}
public void setbSaleNum(Integer bSaleNum) {
this.bSaleNum = bSaleNum;
}
public Integer getbState() {
return bState;
}
public void setbState(Integer bState) {
this.bState = bState;
}
@Override
public String toString() {
return "Books [bId=" + bId + ", bPic=" + bPic + ", bName=" + bName + ", bPrice=" + bPrice + ", bDiscount=" + bDiscount + ", bAuthor=" + bAuthor + ", bPress=" + bPress
+ ", bPressTime=" + bPressTime + ", bAddTime=" + bAddTime + ", bSaleNum="
+ bSaleNum+ "]";
}
}