package Adminmodel;
//以两个属性作为联合主键,需要继承接口java.io.Serializable
public class Chapter {
private int chapterid;//章节id
private Integer novelid;//小说id
private String chaptername;//章节名称
private String chaptercontent;//章节内容
public Chapter() {
super();
// TODO Auto-generated constructor stub
}
//添加章节的构造方法
public Chapter(Integer novelid, String chaptername, String chaptercontent) {
super();
this.novelid = novelid;
this.chaptername = chaptername;
this.chaptercontent = chaptercontent;
}
//查询章节的构造方法
public Chapter(Integer novelid, String chaptername) {
super();
this.novelid = novelid;
this.chaptername = chaptername;
}
//修改章节的构造方法
public Chapter(int chapterid, Integer novelid, String chaptername, String chaptercontent) {
super();
this.chapterid = chapterid;
this.novelid = novelid;
this.chaptername = chaptername;
this.chaptercontent = chaptercontent;
}
public int getChapterid() {
return chapterid;
}
public void setChapterid(int chapterid) {
this.chapterid = chapterid;
}
public Integer getNovelid() {
return novelid;
}
public void setNovelid(Integer novelid) {
this.novelid = novelid;
}
public String getChaptername() {
return chaptername;
}
public void setChaptername(String chaptername) {
this.chaptername = chaptername;
}
public String getChaptercontent() {
return chaptercontent;
}
public void setChaptercontent(String chaptercontent) {
this.chaptercontent = chaptercontent;
}
}
最近下载更多
jiangneng666 LV2
2023年10月20日
limuzi LV7
2023年6月12日
D LV5
2023年3月5日
1424841000 LV2
2023年1月12日
ming_123_9715 LV23
2022年12月4日
huayan LV9
2022年6月29日
llovezrr LV1
2022年6月8日
jery2018 LV5
2022年5月26日
张子墨 LV2
2022年5月11日
wyx065747 LV67
2022年5月7日
最近浏览更多
微信网友_7525238679375872 LV1
5月25日
gxh999810 LV1
2024年12月16日
qiheideguang LV18
2024年7月24日
keyNGy LV1
2024年6月25日
玖零定制问题修复 LV34
2024年4月4日
yeanan LV1
2024年3月28日
luochenQAQ
2024年3月16日
暂无贡献等级
564782135l LV7
2024年1月22日
768881787 LV7
2024年1月10日
jkjfdgbkl LV2
2023年11月1日

