📄 product.java
字号:
package com.accp.entity.jb_sale;
import java.util.HashSet;
import java.util.Set;
/**
* Product entity.
*
* @author MyEclipse Persistence Tools
*/
public class Product implements java.io.Serializable {
// Fields
private Long prodId;
private String prodName;
private String prodType;
private String prodBatch;
private String prodUnit;
private Double prodPrice;
private String prodMemo;
private Set storages = new HashSet(0);
private Set ordersLines = new HashSet(0);
// Constructors
/** default constructor */
public Product() {
}
/** minimal constructor */
public Product(String prodName, String prodType) {
this.prodName = prodName;
this.prodType = prodType;
}
/** full constructor */
public Product(String prodName, String prodType, String prodBatch,
String prodUnit, Double prodPrice, String prodMemo, Set storages,
Set ordersLines) {
this.prodName = prodName;
this.prodType = prodType;
this.prodBatch = prodBatch;
this.prodUnit = prodUnit;
this.prodPrice = prodPrice;
this.prodMemo = prodMemo;
this.storages = storages;
this.ordersLines = ordersLines;
}
// Property accessors
public Long getProdId() {
return this.prodId;
}
public void setProdId(Long prodId) {
this.prodId = prodId;
}
public String getProdName() {
return this.prodName;
}
public void setProdName(String prodName) {
this.prodName = prodName;
}
public String getProdType() {
return this.prodType;
}
public void setProdType(String prodType) {
this.prodType = prodType;
}
public String getProdBatch() {
return this.prodBatch;
}
public void setProdBatch(String prodBatch) {
this.prodBatch = prodBatch;
}
public String getProdUnit() {
return this.prodUnit;
}
public void setProdUnit(String prodUnit) {
this.prodUnit = prodUnit;
}
public Double getProdPrice() {
return this.prodPrice;
}
public void setProdPrice(Double prodPrice) {
this.prodPrice = prodPrice;
}
public String getProdMemo() {
return this.prodMemo;
}
public void setProdMemo(String prodMemo) {
this.prodMemo = prodMemo;
}
public Set getStorages() {
return this.storages;
}
public void setStorages(Set storages) {
this.storages = storages;
}
public Set getOrdersLines() {
return this.ordersLines;
}
public void setOrdersLines(Set ordersLines) {
this.ordersLines = ordersLines;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -