📄 product.java
字号:
package com.lufan.shopping.page;
import java.util.Date;
/**
* Product entity.
*
* @author MyEclipse Persistence Tools
*/
public class Product implements java.io.Serializable {
// Fields
private Integer id;
private String name;
private String descr;
private Double normalprice;
private Double memberprice;
private Date pdate;
private Integer categoryid;
private String address;
// Constructors
/** default constructor */
public Product() {
}
/** full constructor */
public Product(String name, String descr, Double normalprice,
Double memberprice, Date pdate, Integer categoryid, String address) {
this.name = name;
this.descr = descr;
this.normalprice = normalprice;
this.memberprice = memberprice;
this.pdate = pdate;
this.categoryid = categoryid;
this.address = address;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getDescr() {
return this.descr;
}
public void setDescr(String descr) {
this.descr = descr;
}
public Double getNormalprice() {
return this.normalprice;
}
public void setNormalprice(Double normalprice) {
this.normalprice = normalprice;
}
public Double getMemberprice() {
return this.memberprice;
}
public void setMemberprice(Double memberprice) {
this.memberprice = memberprice;
}
public Date getPdate() {
return this.pdate;
}
public void setPdate(Date pdate) {
this.pdate = pdate;
}
public Integer getCategoryid() {
return this.categoryid;
}
public void setCategoryid(Integer categoryid) {
this.categoryid = categoryid;
}
public String getAddress() {
return this.address;
}
public void setAddress(String address) {
this.address = address;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -