|
@@ -2,6 +2,7 @@ package top.imwork.window.silos.entity;
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
|
+import lombok.Data;
|
|
|
|
|
|
|
|
import java.io.Serial;
|
|
import java.io.Serial;
|
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
@@ -14,6 +15,7 @@ import java.util.Date;
|
|
|
* email: e-jiangxiaowei@outlook.com
|
|
* email: e-jiangxiaowei@outlook.com
|
|
|
* date: 2025-11-04 17:46:32
|
|
* date: 2025-11-04 17:46:32
|
|
|
*/
|
|
*/
|
|
|
|
|
+@Data
|
|
|
@TableName("book_contents")
|
|
@TableName("book_contents")
|
|
|
public class Contents implements Serializable {
|
|
public class Contents implements Serializable {
|
|
|
@Serial
|
|
@Serial
|
|
@@ -26,7 +28,7 @@ public class Contents implements Serializable {
|
|
|
/**
|
|
/**
|
|
|
* 关联的图书信息ID
|
|
* 关联的图书信息ID
|
|
|
*/
|
|
*/
|
|
|
- private Long bookInfoId;
|
|
|
|
|
|
|
+ private String bookInfoId;
|
|
|
/**
|
|
/**
|
|
|
* 父级内容ID
|
|
* 父级内容ID
|
|
|
*/
|
|
*/
|
|
@@ -111,188 +113,4 @@ public class Contents implements Serializable {
|
|
|
* 备注
|
|
* 备注
|
|
|
*/
|
|
*/
|
|
|
private String remark;
|
|
private String remark;
|
|
|
-
|
|
|
|
|
- public Long getId() {
|
|
|
|
|
- return id;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setId(Long id) {
|
|
|
|
|
- this.id = id;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public Long getBookInfoId() {
|
|
|
|
|
- return bookInfoId;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setBookInfoId(Long bookInfoId) {
|
|
|
|
|
- this.bookInfoId = bookInfoId;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public Long getParentId() {
|
|
|
|
|
- return parentId;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setParentId(Long parentId) {
|
|
|
|
|
- this.parentId = parentId;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public Integer getChapterLevel() {
|
|
|
|
|
- return chapterLevel;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setChapterLevel(Integer chapterLevel) {
|
|
|
|
|
- this.chapterLevel = chapterLevel;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public String getChapterNumber() {
|
|
|
|
|
- return chapterNumber;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setChapterNumber(String chapterNumber) {
|
|
|
|
|
- this.chapterNumber = chapterNumber;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public String getChapterTitle() {
|
|
|
|
|
- return chapterTitle;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setChapterTitle(String chapterTitle) {
|
|
|
|
|
- this.chapterTitle = chapterTitle;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public Long getPageNumber() {
|
|
|
|
|
- return pageNumber;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setPageNumber(Long pageNumber) {
|
|
|
|
|
- this.pageNumber = pageNumber;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public String getContentType() {
|
|
|
|
|
- return contentType;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setContentType(String contentType) {
|
|
|
|
|
- this.contentType = contentType;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public String getContentText() {
|
|
|
|
|
- return contentText;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setContentText(String contentText) {
|
|
|
|
|
- this.contentText = contentText;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public String getContentHtml() {
|
|
|
|
|
- return contentHtml;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setContentHtml(String contentHtml) {
|
|
|
|
|
- this.contentHtml = contentHtml;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public String getMediaUrl() {
|
|
|
|
|
- return mediaUrl;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setMediaUrl(String mediaUrl) {
|
|
|
|
|
- this.mediaUrl = mediaUrl;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public Integer getWordCount() {
|
|
|
|
|
- return wordCount;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setWordCount(Integer wordCount) {
|
|
|
|
|
- this.wordCount = wordCount;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public Integer getReadingTime() {
|
|
|
|
|
- return readingTime;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setReadingTime(Integer readingTime) {
|
|
|
|
|
- this.readingTime = readingTime;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public Long getSortOrder() {
|
|
|
|
|
- return sortOrder;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setSortOrder(Long sortOrder) {
|
|
|
|
|
- this.sortOrder = sortOrder;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public Integer getIsPublic() {
|
|
|
|
|
- return isPublic;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setIsPublic(Integer isPublic) {
|
|
|
|
|
- this.isPublic = isPublic;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public Integer getHasChildren() {
|
|
|
|
|
- return hasChildren;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setHasChildren(Integer hasChildren) {
|
|
|
|
|
- this.hasChildren = hasChildren;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public String getVersion() {
|
|
|
|
|
- return version;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setVersion(String version) {
|
|
|
|
|
- this.version = version;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public String getDelFlag() {
|
|
|
|
|
- return delFlag;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setDelFlag(String delFlag) {
|
|
|
|
|
- this.delFlag = delFlag;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public String getCreator() {
|
|
|
|
|
- return creator;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setCreator(String creator) {
|
|
|
|
|
- this.creator = creator;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public Date getCreateTime() {
|
|
|
|
|
- return createTime;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setCreateTime(Date createTime) {
|
|
|
|
|
- this.createTime = createTime;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public String getModifier() {
|
|
|
|
|
- return modifier;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setModifier(String modifier) {
|
|
|
|
|
- this.modifier = modifier;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public Date getUpdateTime() {
|
|
|
|
|
- return updateTime;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setUpdateTime(Date updateTime) {
|
|
|
|
|
- this.updateTime = updateTime;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public String getRemark() {
|
|
|
|
|
- return remark;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public void setRemark(String remark) {
|
|
|
|
|
- this.remark = remark;
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|