📄 stock.java
字号:
package entity;
/**
* Stock generated by MyEclipse Persistence Tools
*/
public class Stock implements java.io.Serializable {
// Fields
private Integer stockId;
private Goods goods;
private String stockName;
private String stockSpace;
private Integer stockNo;
private String stockRemark;
private String conditionname;
private String pageNo="1";
private String maxResults="5";
// Constructors
/** default constructor */
public Stock() {
}
/** full constructor */
public Stock(Goods goods, String stockName, String stockSpace,
Integer stockNo, String stockRemark) {
this.goods = goods;
this.stockName = stockName;
this.stockSpace = stockSpace;
this.stockNo = stockNo;
this.stockRemark = stockRemark;
}
// Property accessors
public Integer getStockId() {
return this.stockId;
}
public void setStockId(Integer stockId) {
this.stockId = stockId;
}
public Goods getGoods() {
return this.goods;
}
public void setGoods(Goods goods) {
this.goods = goods;
}
public String getStockName() {
return this.stockName;
}
public void setStockName(String stockName) {
this.stockName = stockName;
}
public String getStockSpace() {
return this.stockSpace;
}
public void setStockSpace(String stockSpace) {
this.stockSpace = stockSpace;
}
public Integer getStockNo() {
return this.stockNo;
}
public void setStockNo(Integer stockNo) {
this.stockNo = stockNo;
}
public String getStockRemark() {
return this.stockRemark;
}
public void setStockRemark(String stockRemark) {
this.stockRemark = stockRemark;
}
public String getConditionname() {
return conditionname;
}
public void setConditionname(String conditionname) {
this.conditionname = conditionname;
}
public String getMaxResults() {
return maxResults;
}
public void setMaxResults(String maxResults) {
this.maxResults = maxResults;
}
public String getPageNo() {
return pageNo;
}
public void setPageNo(String pageNo) {
this.pageNo = pageNo;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -