sectionsecondandthird.java

来自「基于struts+hibernate的电子商务网站。可运行。数据库mysql」· Java 代码 · 共 35 行

JAVA
35
字号
package tarena.data;

import java.util.List;

public class SectionSecondAndThird {
	/** 二级板块 */
	private AbractSection secondCategory;
	/** 二级板块下的所有三级板块 */
	private List<AbractSection> thirdCategorys;
		
	public SectionSecondAndThird() {
		super();
	}
	
	public SectionSecondAndThird(AbractSection secondCategory,
			List<AbractSection> thirdCategorys) {
		super();
		this.secondCategory = secondCategory;
		this.thirdCategorys = thirdCategorys;
	}
	
	public AbractSection getSecondCategory() {
		return secondCategory;
	}
	public void setSecondCategory(AbractSection secondCategory) {
		this.secondCategory = secondCategory;
	}
	public List<AbractSection> getThirdCategorys() {
		return thirdCategorys;
	}
	public void setThirdCategorys(List<AbractSection> thirdCategorys) {
		this.thirdCategorys = thirdCategorys;
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?