2019-04-02 17:41:53 +08:00
|
|
|
package com.novelbook.android.db;
|
|
|
|
|
|
|
|
|
|
|
|
import org.litepal.crud.LitePalSupport;
|
|
|
|
|
2019-04-03 23:29:58 +08:00
|
|
|
import java.io.Serializable;
|
2019-04-02 17:41:53 +08:00
|
|
|
|
2019-04-03 23:29:58 +08:00
|
|
|
|
|
|
|
public class Chapter extends LitePalSupport implements Serializable {
|
2019-04-02 17:41:53 +08:00
|
|
|
private int id;
|
2019-04-03 16:21:00 +08:00
|
|
|
private int novelId;
|
|
|
|
private String novelPath;
|
2019-04-02 17:41:53 +08:00
|
|
|
private String chapterName;
|
2019-04-03 16:21:00 +08:00
|
|
|
private long novelChapterStartPos;
|
2019-04-02 17:41:53 +08:00
|
|
|
private String chapterUrl;
|
|
|
|
private int length;
|
|
|
|
private String chapterPath;
|
|
|
|
|
2019-04-03 18:09:00 +08:00
|
|
|
|
2019-04-02 17:41:53 +08:00
|
|
|
public int getId() {
|
|
|
|
return id;
|
|
|
|
}
|
2019-04-03 16:21:00 +08:00
|
|
|
|
2019-04-02 17:41:53 +08:00
|
|
|
public void setId(int id) {
|
|
|
|
this.id = id;
|
|
|
|
}
|
|
|
|
|
2019-04-03 16:21:00 +08:00
|
|
|
public int getNovelId() {
|
|
|
|
return novelId;
|
2019-04-02 17:41:53 +08:00
|
|
|
}
|
|
|
|
|
2019-04-03 16:21:00 +08:00
|
|
|
public void setNovelId(int novelId) {
|
|
|
|
this.novelId = novelId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getNovelPath() {
|
|
|
|
return novelPath;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setNovelPath(String novelPath) {
|
|
|
|
this.novelPath = novelPath;
|
2019-04-02 17:41:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
public String getChapterName() {
|
|
|
|
return chapterName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setChapterName(String chapterName) {
|
|
|
|
this.chapterName = chapterName;
|
|
|
|
}
|
|
|
|
|
2019-04-03 16:21:00 +08:00
|
|
|
public long getNovelChapterStartPos() {
|
|
|
|
return novelChapterStartPos;
|
2019-04-02 17:41:53 +08:00
|
|
|
}
|
|
|
|
|
2019-04-03 16:21:00 +08:00
|
|
|
public void setNovelChapterStartPos(long novelChapterStartPos) {
|
|
|
|
this.novelChapterStartPos = novelChapterStartPos;
|
2019-04-02 17:41:53 +08:00
|
|
|
}
|
2019-04-03 16:21:00 +08:00
|
|
|
|
|
|
|
public String getChapterUrl() {
|
|
|
|
return chapterUrl;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setChapterUrl(String chapterUrl) {
|
|
|
|
this.chapterUrl = chapterUrl;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getLength() {
|
|
|
|
return length;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setLength(int length) {
|
|
|
|
this.length = length;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getChapterPath() {
|
|
|
|
return chapterPath;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setChapterPath(String chapterPath) {
|
|
|
|
this.chapterPath = chapterPath;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2019-04-02 17:41:53 +08:00
|
|
|
}
|
|
|
|
|