⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bookcategory.java

📁 用STRUTS ,HIBERNATE, SPRING 三种框架整合做的实战项目
💻 JAVA
字号:
package com.ghy.data.book;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class BookCategory implements Serializable 
{

	private String id ;
	private String categoryName ;
	private BookCategory parentCategory ;
	private Set childCategories = new HashSet();
	private Set books = new HashSet();
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * @return the categoryName
	 */
	public String getCategoryName() {
		return categoryName;
	}
	/**
	 * @param categoryName the categoryName to set
	 */
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
	/**
	 * @return the parentCategory
	 */
	public BookCategory getParentCategory() {
		return parentCategory;
	}
	/**
	 * @param parentCategory the parentCategory to set
	 */
	public void setParentCategory(BookCategory parentCategory) {
		this.parentCategory = parentCategory;
	}
	/**
	 * @return the childCategories
	 */
	public Set getChildCategories() {
		return childCategories;
	}
	/**
	 * @param childCategories the childCategories to set
	 */
	public void setChildCategories(Set childCategories) {
		this.childCategories = childCategories;
	}
	/**
	 * @return the books
	 */
	public Set getBooks() {
		return books;
	}
	/**
	 * @param books the books to set
	 */
	public void setBooks(Set books) {
		this.books = books;
	}
	
	
}

⌨️ 快捷键说明

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