📄 prices.java
字号:
package tarena.entity;
/**
* Prices entity.
*
* @author MyEclipse Persistence Tools
*/
public class Prices implements java.io.Serializable {
// Fields
private Integer id;
private Product product;
private String shopname;
private Double shopprice;
// Constructors
/** default constructor */
public Prices() {
}
/** full constructor */
public Prices(Product product, String shopname, Double shopprice) {
this.product = product;
this.shopname = shopname;
this.shopprice = shopprice;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Product getProduct() {
return this.product;
}
public void setProduct(Product product) {
this.product = product;
}
public String getShopname() {
return this.shopname;
}
public void setShopname(String shopname) {
this.shopname = shopname;
}
public Double getShopprice() {
return this.shopprice;
}
public void setShopprice(Double shopprice) {
this.shopprice = shopprice;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -