?? product.java
字號(hào):
package com.bjsxt.shopping.product;
import java.util.Date;
import com.bjsxt.shopping.category.Category;
public class Product {
private int id;
private String name;
private String descr;
private double normalPrice;
private double memberPrice;
private Date pdate;
private int categoryId;
private Category category;
public int getCategoryId() {
return categoryId;
}
public void setCategoryId(int categoryId) {
this.categoryId = categoryId;
}
public String getDescr() {
return descr;
}
public void setDescr(String descr) {
this.descr = descr;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public double getMemberPrice() {
return memberPrice;
}
public void setMemberPrice(double memberPrice) {
this.memberPrice = memberPrice;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public double getNormalPrice() {
return normalPrice;
}
public void setNormalPrice(double normalPrice) {
this.normalPrice = normalPrice;
}
public Date getPdate() {
return pdate;
}
public void setPdate(Date pdate) {
this.pdate = pdate;
}
public void update() {
}
public Category getCategory() {
return category;
}
public void setCategory(Category category) {
this.category = category;
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -