?? category.java
字號:
package cn.com.tarena.ecport.pojo;
import java.util.HashSet;
import java.util.Set;
/**
* <pre>
* 商品分類Pojo
* 此Pojo映射數據庫中的Category表
* </pre>
*
* @author zhouyu 2008-1-16
*/
public class Category extends BasePojo {
/**
*
*/
private static final long serialVersionUID = -7178798175596684655L;
private Long categoryid; //??????????????к?
private String name;//?????????
private String description;//???????????
public Category() {
}
/** minimal constructor */
public Category(String name) {
this.name = name;
}
/** full constructor */
public Category(String name, String description, Set products) {
this.name = name;
this.description = description;
this.products = products;
}
// Property accessors
public Long getCategoryid() {
return this.categoryid;
}
public void setCategoryid(Long categoryid) {
this.categoryid = categoryid;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public Set getProducts() {
return this.products;
}
public void setProducts(Set products) {
this.products = products;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
減小字號
Ctrl + -