📄 categorysecondandthird.java
字号:
package com.shop.data;
import java.io.Serializable;
import java.util.List;
public class CategorySecondAndThird implements Serializable{
/** 二级分类 */
private AbractCategory secondCategory;
/** 二级分类下的所有三级分类 */
private List<AbractCategory> thirdCategorys;
public CategorySecondAndThird(AbractCategory secondCategory,List<AbractCategory> thirdCategorys) {
this.secondCategory = secondCategory;
this.thirdCategorys = thirdCategorys;
}
public AbractCategory getSecondCategory() {
return secondCategory;
}
public void setSecondCategory(AbractCategory secondCategory) {
this.secondCategory = secondCategory;
}
public List<AbractCategory> getThirdCategorys() {
return thirdCategorys;
}
public void setThirdCategorys(List<AbractCategory> thirdCategorys) {
this.thirdCategorys = thirdCategorys;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -