mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-21 01:10:39 +08:00
自动生成数据库映射文件
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
package plus.bookshelf.Dao.DO;
|
||||
|
||||
public class AuthorDO {
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_author_info.id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_author_info.name
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_author_info.id
|
||||
*
|
||||
* @return the value of book_author_info.id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_author_info.id
|
||||
*
|
||||
* @param id the value for book_author_info.id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_author_info.name
|
||||
*
|
||||
* @return the value of book_author_info.name
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_author_info.name
|
||||
*
|
||||
* @param name the value for book_author_info.name
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setName(String name) {
|
||||
this.name = name == null ? null : name.trim();
|
||||
}
|
||||
}
|
201
bookshelfplus/src/main/java/plus/bookshelf/Dao/DO/BookDO.java
Normal file
201
bookshelfplus/src/main/java/plus/bookshelf/Dao/DO/BookDO.java
Normal file
@@ -0,0 +1,201 @@
|
||||
package plus.bookshelf.Dao.DO;
|
||||
|
||||
public class BookDO extends BookDOKey {
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_info.category_id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Integer categoryId;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_info.publishing_house_id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Integer publishingHouseId;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_info.language
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private String language;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_info.copyright
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private String copyright;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_info.is_delete
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Boolean isDelete;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_info.description
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private String description;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_info.category_id
|
||||
*
|
||||
* @return the value of book_info.category_id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Integer getCategoryId() {
|
||||
return categoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_info.category_id
|
||||
*
|
||||
* @param categoryId the value for book_info.category_id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setCategoryId(Integer categoryId) {
|
||||
this.categoryId = categoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_info.publishing_house_id
|
||||
*
|
||||
* @return the value of book_info.publishing_house_id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Integer getPublishingHouseId() {
|
||||
return publishingHouseId;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_info.publishing_house_id
|
||||
*
|
||||
* @param publishingHouseId the value for book_info.publishing_house_id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setPublishingHouseId(Integer publishingHouseId) {
|
||||
this.publishingHouseId = publishingHouseId;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_info.language
|
||||
*
|
||||
* @return the value of book_info.language
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public String getLanguage() {
|
||||
return language;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_info.language
|
||||
*
|
||||
* @param language the value for book_info.language
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setLanguage(String language) {
|
||||
this.language = language == null ? null : language.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_info.copyright
|
||||
*
|
||||
* @return the value of book_info.copyright
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public String getCopyright() {
|
||||
return copyright;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_info.copyright
|
||||
*
|
||||
* @param copyright the value for book_info.copyright
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setCopyright(String copyright) {
|
||||
this.copyright = copyright == null ? null : copyright.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_info.is_delete
|
||||
*
|
||||
* @return the value of book_info.is_delete
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Boolean getIsDelete() {
|
||||
return isDelete;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_info.is_delete
|
||||
*
|
||||
* @param isDelete the value for book_info.is_delete
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setIsDelete(Boolean isDelete) {
|
||||
this.isDelete = isDelete;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_info.description
|
||||
*
|
||||
* @return the value of book_info.description
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_info.description
|
||||
*
|
||||
* @param description the value for book_info.description
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setDescription(String description) {
|
||||
this.description = description == null ? null : description.trim();
|
||||
}
|
||||
}
|
@@ -0,0 +1,69 @@
|
||||
package plus.bookshelf.Dao.DO;
|
||||
|
||||
public class BookDOKey {
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_info.id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Byte id;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_info.book_name
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private String bookName;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_info.id
|
||||
*
|
||||
* @return the value of book_info.id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Byte getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_info.id
|
||||
*
|
||||
* @param id the value for book_info.id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setId(Byte id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_info.book_name
|
||||
*
|
||||
* @return the value of book_info.book_name
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public String getBookName() {
|
||||
return bookName;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_info.book_name
|
||||
*
|
||||
* @param bookName the value for book_info.book_name
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setBookName(String bookName) {
|
||||
this.bookName = bookName == null ? null : bookName.trim();
|
||||
}
|
||||
}
|
@@ -0,0 +1,234 @@
|
||||
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 Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column category_info.name
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column category_info.isShow
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Boolean isshow;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column category_info.order
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Integer order;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column category_info.level
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Integer level;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column category_info.parentId
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Integer parentid;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column category_info.description
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
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 Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
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 Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
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 Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
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 Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
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.isShow
|
||||
*
|
||||
* @return the value of category_info.isShow
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Boolean getIsshow() {
|
||||
return isshow;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column category_info.isShow
|
||||
*
|
||||
* @param isshow the value for category_info.isShow
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
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 Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
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 Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
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 Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
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 Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
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.parentId
|
||||
*
|
||||
* @return the value of category_info.parentId
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Integer getParentid() {
|
||||
return parentid;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column category_info.parentId
|
||||
*
|
||||
* @param parentid the value for category_info.parentId
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
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 Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
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 Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setDescription(String description) {
|
||||
this.description = description == null ? null : description.trim();
|
||||
}
|
||||
}
|
467
bookshelfplus/src/main/java/plus/bookshelf/Dao/DO/FileDO.java
Normal file
467
bookshelfplus/src/main/java/plus/bookshelf/Dao/DO/FileDO.java
Normal file
@@ -0,0 +1,467 @@
|
||||
package plus.bookshelf.Dao.DO;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class FileDO extends FileDOKey {
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.file_display_name
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private String fileDisplayName;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.file_name
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private String fileName;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.file_format
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private String fileFormat;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.number_of_pages
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Integer numberOfPages;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.watermark
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Boolean watermark;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.advertising
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Boolean advertising;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.book_origin
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Byte bookOrigin;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.thumbnail
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private String thumbnail;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.file_create_at
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Date fileCreateAt;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.file_modified_at
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Date fileModifiedAt;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.file_size
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Integer fileSize;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.hash_md5
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private String hashMd5;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.hash_sha1
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private String hashSha1;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.hash_sha256
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private String hashSha256;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.file_display_name
|
||||
*
|
||||
* @return the value of file_info.file_display_name
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public String getFileDisplayName() {
|
||||
return fileDisplayName;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.file_display_name
|
||||
*
|
||||
* @param fileDisplayName the value for file_info.file_display_name
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setFileDisplayName(String fileDisplayName) {
|
||||
this.fileDisplayName = fileDisplayName == null ? null : fileDisplayName.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.file_name
|
||||
*
|
||||
* @return the value of file_info.file_name
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public String getFileName() {
|
||||
return fileName;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.file_name
|
||||
*
|
||||
* @param fileName the value for file_info.file_name
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setFileName(String fileName) {
|
||||
this.fileName = fileName == null ? null : fileName.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.file_format
|
||||
*
|
||||
* @return the value of file_info.file_format
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public String getFileFormat() {
|
||||
return fileFormat;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.file_format
|
||||
*
|
||||
* @param fileFormat the value for file_info.file_format
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setFileFormat(String fileFormat) {
|
||||
this.fileFormat = fileFormat == null ? null : fileFormat.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.number_of_pages
|
||||
*
|
||||
* @return the value of file_info.number_of_pages
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Integer getNumberOfPages() {
|
||||
return numberOfPages;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.number_of_pages
|
||||
*
|
||||
* @param numberOfPages the value for file_info.number_of_pages
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setNumberOfPages(Integer numberOfPages) {
|
||||
this.numberOfPages = numberOfPages;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.watermark
|
||||
*
|
||||
* @return the value of file_info.watermark
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Boolean getWatermark() {
|
||||
return watermark;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.watermark
|
||||
*
|
||||
* @param watermark the value for file_info.watermark
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setWatermark(Boolean watermark) {
|
||||
this.watermark = watermark;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.advertising
|
||||
*
|
||||
* @return the value of file_info.advertising
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Boolean getAdvertising() {
|
||||
return advertising;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.advertising
|
||||
*
|
||||
* @param advertising the value for file_info.advertising
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setAdvertising(Boolean advertising) {
|
||||
this.advertising = advertising;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.book_origin
|
||||
*
|
||||
* @return the value of file_info.book_origin
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Byte getBookOrigin() {
|
||||
return bookOrigin;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.book_origin
|
||||
*
|
||||
* @param bookOrigin the value for file_info.book_origin
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setBookOrigin(Byte bookOrigin) {
|
||||
this.bookOrigin = bookOrigin;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.thumbnail
|
||||
*
|
||||
* @return the value of file_info.thumbnail
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public String getThumbnail() {
|
||||
return thumbnail;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.thumbnail
|
||||
*
|
||||
* @param thumbnail the value for file_info.thumbnail
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setThumbnail(String thumbnail) {
|
||||
this.thumbnail = thumbnail == null ? null : thumbnail.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.file_create_at
|
||||
*
|
||||
* @return the value of file_info.file_create_at
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Date getFileCreateAt() {
|
||||
return fileCreateAt;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.file_create_at
|
||||
*
|
||||
* @param fileCreateAt the value for file_info.file_create_at
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setFileCreateAt(Date fileCreateAt) {
|
||||
this.fileCreateAt = fileCreateAt;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.file_modified_at
|
||||
*
|
||||
* @return the value of file_info.file_modified_at
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Date getFileModifiedAt() {
|
||||
return fileModifiedAt;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.file_modified_at
|
||||
*
|
||||
* @param fileModifiedAt the value for file_info.file_modified_at
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setFileModifiedAt(Date fileModifiedAt) {
|
||||
this.fileModifiedAt = fileModifiedAt;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.file_size
|
||||
*
|
||||
* @return the value of file_info.file_size
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Integer getFileSize() {
|
||||
return fileSize;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.file_size
|
||||
*
|
||||
* @param fileSize the value for file_info.file_size
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setFileSize(Integer fileSize) {
|
||||
this.fileSize = fileSize;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.hash_md5
|
||||
*
|
||||
* @return the value of file_info.hash_md5
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public String getHashMd5() {
|
||||
return hashMd5;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.hash_md5
|
||||
*
|
||||
* @param hashMd5 the value for file_info.hash_md5
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setHashMd5(String hashMd5) {
|
||||
this.hashMd5 = hashMd5 == null ? null : hashMd5.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.hash_sha1
|
||||
*
|
||||
* @return the value of file_info.hash_sha1
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public String getHashSha1() {
|
||||
return hashSha1;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.hash_sha1
|
||||
*
|
||||
* @param hashSha1 the value for file_info.hash_sha1
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setHashSha1(String hashSha1) {
|
||||
this.hashSha1 = hashSha1 == null ? null : hashSha1.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.hash_sha256
|
||||
*
|
||||
* @return the value of file_info.hash_sha256
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public String getHashSha256() {
|
||||
return hashSha256;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.hash_sha256
|
||||
*
|
||||
* @param hashSha256 the value for file_info.hash_sha256
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setHashSha256(String hashSha256) {
|
||||
this.hashSha256 = hashSha256 == null ? null : hashSha256.trim();
|
||||
}
|
||||
}
|
@@ -0,0 +1,69 @@
|
||||
package plus.bookshelf.Dao.DO;
|
||||
|
||||
public class FileDOKey {
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_info.book_id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Integer bookId;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.id
|
||||
*
|
||||
* @return the value of file_info.id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.id
|
||||
*
|
||||
* @param id the value for file_info.id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_info.book_id
|
||||
*
|
||||
* @return the value of file_info.book_id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Integer getBookId() {
|
||||
return bookId;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_info.book_id
|
||||
*
|
||||
* @param bookId the value for file_info.book_id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setBookId(Integer bookId) {
|
||||
this.bookId = bookId;
|
||||
}
|
||||
}
|
@@ -0,0 +1,234 @@
|
||||
package plus.bookshelf.Dao.DO;
|
||||
|
||||
public class FileObjectDO {
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_object_info.id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_object_info.fileId
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Integer fileid;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_object_info.storage_medium_type
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Byte storageMediumType;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_object_info.file_path
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private String filePath;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_object_info.file_pwd
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private String filePwd;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_object_info.file_share_code
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private String fileShareCode;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column file_object_info.additional_fields
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private String additionalFields;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_object_info.id
|
||||
*
|
||||
* @return the value of file_object_info.id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_object_info.id
|
||||
*
|
||||
* @param id the value for file_object_info.id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_object_info.fileId
|
||||
*
|
||||
* @return the value of file_object_info.fileId
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Integer getFileid() {
|
||||
return fileid;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_object_info.fileId
|
||||
*
|
||||
* @param fileid the value for file_object_info.fileId
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setFileid(Integer fileid) {
|
||||
this.fileid = fileid;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_object_info.storage_medium_type
|
||||
*
|
||||
* @return the value of file_object_info.storage_medium_type
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Byte getStorageMediumType() {
|
||||
return storageMediumType;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_object_info.storage_medium_type
|
||||
*
|
||||
* @param storageMediumType the value for file_object_info.storage_medium_type
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setStorageMediumType(Byte storageMediumType) {
|
||||
this.storageMediumType = storageMediumType;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_object_info.file_path
|
||||
*
|
||||
* @return the value of file_object_info.file_path
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public String getFilePath() {
|
||||
return filePath;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_object_info.file_path
|
||||
*
|
||||
* @param filePath the value for file_object_info.file_path
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setFilePath(String filePath) {
|
||||
this.filePath = filePath == null ? null : filePath.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_object_info.file_pwd
|
||||
*
|
||||
* @return the value of file_object_info.file_pwd
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public String getFilePwd() {
|
||||
return filePwd;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_object_info.file_pwd
|
||||
*
|
||||
* @param filePwd the value for file_object_info.file_pwd
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setFilePwd(String filePwd) {
|
||||
this.filePwd = filePwd == null ? null : filePwd.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_object_info.file_share_code
|
||||
*
|
||||
* @return the value of file_object_info.file_share_code
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public String getFileShareCode() {
|
||||
return fileShareCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_object_info.file_share_code
|
||||
*
|
||||
* @param fileShareCode the value for file_object_info.file_share_code
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setFileShareCode(String fileShareCode) {
|
||||
this.fileShareCode = fileShareCode == null ? null : fileShareCode.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column file_object_info.additional_fields
|
||||
*
|
||||
* @return the value of file_object_info.additional_fields
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public String getAdditionalFields() {
|
||||
return additionalFields;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column file_object_info.additional_fields
|
||||
*
|
||||
* @param additionalFields the value for file_object_info.additional_fields
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setAdditionalFields(String additionalFields) {
|
||||
this.additionalFields = additionalFields == null ? null : additionalFields.trim();
|
||||
}
|
||||
}
|
@@ -0,0 +1,69 @@
|
||||
package plus.bookshelf.Dao.DO;
|
||||
|
||||
public class PublishingHouseDO {
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_publishing_house_info.id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_publishing_house_info.name
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_publishing_house_info.id
|
||||
*
|
||||
* @return the value of book_publishing_house_info.id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_publishing_house_info.id
|
||||
*
|
||||
* @param id the value for book_publishing_house_info.id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_publishing_house_info.name
|
||||
*
|
||||
* @return the value of book_publishing_house_info.name
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_publishing_house_info.name
|
||||
*
|
||||
* @param name the value for book_publishing_house_info.name
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setName(String name) {
|
||||
this.name = name == null ? null : name.trim();
|
||||
}
|
||||
}
|
@@ -0,0 +1,69 @@
|
||||
package plus.bookshelf.Dao.DO;
|
||||
|
||||
public class ThumbnailDO {
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_thumbnail_info.id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column book_thumbnail_info.path
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
private String path;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_thumbnail_info.id
|
||||
*
|
||||
* @return the value of book_thumbnail_info.id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_thumbnail_info.id
|
||||
*
|
||||
* @param id the value for book_thumbnail_info.id
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column book_thumbnail_info.path
|
||||
*
|
||||
* @return the value of book_thumbnail_info.path
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public String getPath() {
|
||||
return path;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column book_thumbnail_info.path
|
||||
*
|
||||
* @param path the value for book_thumbnail_info.path
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
public void setPath(String path) {
|
||||
this.path = path == null ? null : path.trim();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user