📄 category.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -