category.java

来自「这是一个网上书店」· Java 代码 · 共 90 行

JAVA
90
字号
package com.ebookstore.dto;


/**
 * Category generated by MyEclipse - Hibernate Tools
 */

public class Category extends BaseDTO {

	// Fields

	private Integer categoryId;

	private String categoryName;

	private Integer parentId;

	private String ancestorTree;

	private String numberBook;

	private String categoryDesc;

	// Constructors

	/** default constructor */
	public Category() {
	}

	/** full constructor */
	public Category(String categoryName, Integer parentId, String ancestorTree,
			String numberBook, String categoryDesc) {
		this.categoryName = categoryName;
		this.parentId = parentId;
		this.ancestorTree = ancestorTree;
		this.numberBook = numberBook;
		this.categoryDesc = categoryDesc;
	}

	// Property accessors

	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 Integer getParentId() {
		return this.parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public String getAncestorTree() {
		return this.ancestorTree;
	}

	public void setAncestorTree(String ancestorTree) {
		this.ancestorTree = ancestorTree;
	}

	public String getNumberBook() {
		return this.numberBook;
	}

	public void setNumberBook(String numberBook) {
		this.numberBook = numberBook;
	}

	public String getCategoryDesc() {
		return this.categoryDesc;
	}

	public void setCategoryDesc(String categoryDesc) {
		this.categoryDesc = categoryDesc;
	}
}

⌨️ 快捷键说明

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