mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-14 20:41:38 +08:00
234 lines
5.8 KiB
Java
234 lines
5.8 KiB
Java
package plus.bookshelf.Dao.DO;
|
|
|
|
public class CategoryDO {
|
|
/**
|
|
*
|
|
* This field was generated by MyBatis Generator.
|
|
* This field corresponds to the database column category_info.id
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
private Integer id;
|
|
|
|
/**
|
|
*
|
|
* This field was generated by MyBatis Generator.
|
|
* This field corresponds to the database column category_info.name
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
private String name;
|
|
|
|
/**
|
|
*
|
|
* This field was generated by MyBatis Generator.
|
|
* This field corresponds to the database column category_info.is_show
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
private Boolean isShow;
|
|
|
|
/**
|
|
*
|
|
* This field was generated by MyBatis Generator.
|
|
* This field corresponds to the database column category_info.order
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
private Integer order;
|
|
|
|
/**
|
|
*
|
|
* This field was generated by MyBatis Generator.
|
|
* This field corresponds to the database column category_info.level
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
private Integer level;
|
|
|
|
/**
|
|
*
|
|
* This field was generated by MyBatis Generator.
|
|
* This field corresponds to the database column category_info.parent_id
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
private Integer parentId;
|
|
|
|
/**
|
|
*
|
|
* This field was generated by MyBatis Generator.
|
|
* This field corresponds to the database column category_info.description
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
private String description;
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method returns the value of the database column category_info.id
|
|
*
|
|
* @return the value of category_info.id
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
public Integer getId() {
|
|
return id;
|
|
}
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method sets the value of the database column category_info.id
|
|
*
|
|
* @param id the value for category_info.id
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
public void setId(Integer id) {
|
|
this.id = id;
|
|
}
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method returns the value of the database column category_info.name
|
|
*
|
|
* @return the value of category_info.name
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method sets the value of the database column category_info.name
|
|
*
|
|
* @param name the value for category_info.name
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
public void setName(String name) {
|
|
this.name = name == null ? null : name.trim();
|
|
}
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method returns the value of the database column category_info.is_show
|
|
*
|
|
* @return the value of category_info.is_show
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
public Boolean getIsShow() {
|
|
return isShow;
|
|
}
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method sets the value of the database column category_info.is_show
|
|
*
|
|
* @param isShow the value for category_info.is_show
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
public void setIsShow(Boolean isShow) {
|
|
this.isShow = isShow;
|
|
}
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method returns the value of the database column category_info.order
|
|
*
|
|
* @return the value of category_info.order
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
public Integer getOrder() {
|
|
return order;
|
|
}
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method sets the value of the database column category_info.order
|
|
*
|
|
* @param order the value for category_info.order
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
public void setOrder(Integer order) {
|
|
this.order = order;
|
|
}
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method returns the value of the database column category_info.level
|
|
*
|
|
* @return the value of category_info.level
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
public Integer getLevel() {
|
|
return level;
|
|
}
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method sets the value of the database column category_info.level
|
|
*
|
|
* @param level the value for category_info.level
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
public void setLevel(Integer level) {
|
|
this.level = level;
|
|
}
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method returns the value of the database column category_info.parent_id
|
|
*
|
|
* @return the value of category_info.parent_id
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
public Integer getParentId() {
|
|
return parentId;
|
|
}
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method sets the value of the database column category_info.parent_id
|
|
*
|
|
* @param parentId the value for category_info.parent_id
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
public void setParentId(Integer parentId) {
|
|
this.parentId = parentId;
|
|
}
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method returns the value of the database column category_info.description
|
|
*
|
|
* @return the value of category_info.description
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method sets the value of the database column category_info.description
|
|
*
|
|
* @param description the value for category_info.description
|
|
*
|
|
* @mbg.generated
|
|
*/
|
|
public void setDescription(String description) {
|
|
this.description = description == null ? null : description.trim();
|
|
}
|
|
} |