📄 productcategory.java
字号:
package com.lideedu.yame.tree.pojos;
import java.util.HashSet;
import java.util.Set;
@SuppressWarnings("serial")
public class ProductCategory implements java.io.Serializable {
private Integer categoryId;
private String categoryName;
private ProductCategory parentCategory;
private Set subCategories = new HashSet(0);
private Set products = new HashSet(0);
public Set getProducts() {
return products;
}
public void setProducts(Set products) {
this.products = products;
}
public ProductCategory() {
}
public Integer getCategoryId() {
return this.categoryId;
}
public void setCategoryId(Integer categoryId) {
this.categoryId = categoryId;
}
public String getCategoryName() {
return this.categoryName;
}
public void setCategoryName(String categoryName) {
this.categoryName = categoryName;
}
public ProductCategory getParentCategory() {
return parentCategory;
}
public void setParentCategory(ProductCategory parentCategory) {
this.parentCategory = parentCategory;
}
public Set getSubCategories() {
return subCategories;
}
public void setSubCategories(Set subCategories) {
this.subCategories = subCategories;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -