parent
8cff9f700a
commit
13e9fa78b3
@ -1,112 +0,0 @@ |
|||||||
package com.novel.read.model.protocol; |
|
||||||
|
|
||||||
|
|
||||||
import com.novel.read.base.MyApp; |
|
||||||
import com.novel.read.utlis.StringUtils; |
|
||||||
|
|
||||||
import java.io.Serializable; |
|
||||||
import java.util.List; |
|
||||||
|
|
||||||
/** |
|
||||||
* create by 赵利君 on 2019/6/18 |
|
||||||
* describe: |
|
||||||
*/ |
|
||||||
public class RecommendBookResp implements Serializable { |
|
||||||
|
|
||||||
|
|
||||||
private List<BookBean> book; |
|
||||||
|
|
||||||
public List<BookBean> getBook() { |
|
||||||
return book; |
|
||||||
} |
|
||||||
|
|
||||||
public void setBook(List<BookBean> book) { |
|
||||||
this.book = book; |
|
||||||
} |
|
||||||
|
|
||||||
public static class BookBean { |
|
||||||
/** |
|
||||||
* id : 139 |
|
||||||
* title : 丹师剑宗 |
|
||||||
* cover : http://dev.duoduvip.com/uploads/20190611/b81d831d3310041846444dacca57cef9.png
|
|
||||||
* description : |
|
||||||
* hot : 83146 |
|
||||||
* like : 64 |
|
||||||
* author : 伯爵 |
|
||||||
* create_time : 1560191131 |
|
||||||
*/ |
|
||||||
|
|
||||||
private int id; |
|
||||||
private String title; |
|
||||||
private String cover; |
|
||||||
private String description; |
|
||||||
private int hot; |
|
||||||
private int like; |
|
||||||
private String author; |
|
||||||
private int create_time; |
|
||||||
|
|
||||||
public int getId() { |
|
||||||
return id; |
|
||||||
} |
|
||||||
|
|
||||||
public void setId(int id) { |
|
||||||
this.id = id; |
|
||||||
} |
|
||||||
|
|
||||||
public String getTitle() { |
|
||||||
return title == null ? "" : StringUtils.INSTANCE.convertCC(title); |
|
||||||
} |
|
||||||
|
|
||||||
public void setTitle(String title) { |
|
||||||
this.title = title; |
|
||||||
} |
|
||||||
|
|
||||||
public String getCover() { |
|
||||||
return cover; |
|
||||||
} |
|
||||||
|
|
||||||
public void setCover(String cover) { |
|
||||||
this.cover = cover; |
|
||||||
} |
|
||||||
|
|
||||||
public String getDescription() { |
|
||||||
return description == null ? "" : StringUtils.INSTANCE.convertCC(StringUtils.INSTANCE.delete160(description)); |
|
||||||
} |
|
||||||
|
|
||||||
public void setDescription(String description) { |
|
||||||
this.description = description; |
|
||||||
} |
|
||||||
|
|
||||||
public int getHot() { |
|
||||||
return hot; |
|
||||||
} |
|
||||||
|
|
||||||
public void setHot(int hot) { |
|
||||||
this.hot = hot; |
|
||||||
} |
|
||||||
|
|
||||||
public int getLike() { |
|
||||||
return like; |
|
||||||
} |
|
||||||
|
|
||||||
public void setLike(int like) { |
|
||||||
this.like = like; |
|
||||||
} |
|
||||||
|
|
||||||
public String getAuthor() { |
|
||||||
return author == null ? "" : StringUtils.INSTANCE.convertCC(author) ; |
|
||||||
} |
|
||||||
|
|
||||||
public void setAuthor(String author) { |
|
||||||
this.author = author; |
|
||||||
} |
|
||||||
|
|
||||||
public int getCreate_time() { |
|
||||||
return create_time; |
|
||||||
} |
|
||||||
|
|
||||||
public void setCreate_time(int create_time) { |
|
||||||
this.create_time = create_time; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
@ -0,0 +1,43 @@ |
|||||||
|
package com.novel.read.model.protocol |
||||||
|
|
||||||
|
|
||||||
|
import com.novel.read.base.MyApp |
||||||
|
import com.novel.read.utlis.StringUtils |
||||||
|
|
||||||
|
import java.io.Serializable |
||||||
|
import java.util.ArrayList |
||||||
|
|
||||||
|
/** |
||||||
|
* create by zlj on 2019/6/18 |
||||||
|
* describe: |
||||||
|
*/ |
||||||
|
class RecommendBookResp : Serializable { |
||||||
|
|
||||||
|
|
||||||
|
var book: List<BookBean> = ArrayList() |
||||||
|
|
||||||
|
class BookBean { |
||||||
|
/** |
||||||
|
* id : 139 |
||||||
|
* title : 丹师剑宗 |
||||||
|
* cover : http://dev.duoduvip.com/uploads/20190611/b81d831d3310041846444dacca57cef9.png |
||||||
|
* description : |
||||||
|
* hot : 83146 |
||||||
|
* like : 64 |
||||||
|
* author : 伯爵 |
||||||
|
* create_time : 1560191131 |
||||||
|
*/ |
||||||
|
|
||||||
|
var id: Int = 0 |
||||||
|
var title: String? = null |
||||||
|
get() = if (field == null) "" else StringUtils.convertCC(field!!) |
||||||
|
var cover: String? = null |
||||||
|
var description: String? = null |
||||||
|
get() = if (field == null) "" else StringUtils.convertCC(StringUtils.delete160(field!!)) |
||||||
|
var hot: Int = 0 |
||||||
|
var like: Int = 0 |
||||||
|
var author: String? = null |
||||||
|
get() = if (field == null) "" else StringUtils.convertCC(field!!) |
||||||
|
var create_time: Int = 0 |
||||||
|
} |
||||||
|
} |
@ -1,167 +0,0 @@ |
|||||||
package com.novel.read.model.protocol; |
|
||||||
|
|
||||||
import com.novel.read.base.MyApp; |
|
||||||
import com.novel.read.utlis.StringUtils; |
|
||||||
|
|
||||||
import java.io.Serializable; |
|
||||||
import java.util.List; |
|
||||||
|
|
||||||
/** |
|
||||||
* create by 赵利君 on 2019/6/19 |
|
||||||
* describe: |
|
||||||
*/ |
|
||||||
public class RecommendListResp implements Serializable { |
|
||||||
|
|
||||||
|
|
||||||
private List<ListBean> list; |
|
||||||
|
|
||||||
public List<ListBean> getList() { |
|
||||||
return list; |
|
||||||
} |
|
||||||
|
|
||||||
public void setList(List<ListBean> list) { |
|
||||||
this.list = list; |
|
||||||
} |
|
||||||
|
|
||||||
public static class ListBean { |
|
||||||
/** |
|
||||||
* id : 5 |
|
||||||
* book_id : 10 |
|
||||||
* type : 1 |
|
||||||
* gender : 1 |
|
||||||
* sort : 10 |
|
||||||
* create_time : 1560129944 |
|
||||||
* update_time : 1560129944 |
|
||||||
* delete_time : null |
|
||||||
* book_title : 重生之末世宝典 |
|
||||||
* book_cover : http://api.duoduvip.com/uploads/nocover.jpg
|
|
||||||
*/ |
|
||||||
|
|
||||||
private int id; |
|
||||||
private int book_id; |
|
||||||
private int type; |
|
||||||
private int gender; |
|
||||||
private int sort; |
|
||||||
private int create_time; |
|
||||||
private int update_time; |
|
||||||
private Object delete_time; |
|
||||||
private String book_title; |
|
||||||
private String book_cover; |
|
||||||
private String author; |
|
||||||
private String description; |
|
||||||
private int hot; |
|
||||||
private int like; |
|
||||||
|
|
||||||
public int getId() { |
|
||||||
return id; |
|
||||||
} |
|
||||||
|
|
||||||
public void setId(int id) { |
|
||||||
this.id = id; |
|
||||||
} |
|
||||||
|
|
||||||
public int getBook_id() { |
|
||||||
return book_id; |
|
||||||
} |
|
||||||
|
|
||||||
public void setBook_id(int book_id) { |
|
||||||
this.book_id = book_id; |
|
||||||
} |
|
||||||
|
|
||||||
public int getType() { |
|
||||||
return type; |
|
||||||
} |
|
||||||
|
|
||||||
public void setType(int type) { |
|
||||||
this.type = type; |
|
||||||
} |
|
||||||
|
|
||||||
public int getGender() { |
|
||||||
return gender; |
|
||||||
} |
|
||||||
|
|
||||||
public void setGender(int gender) { |
|
||||||
this.gender = gender; |
|
||||||
} |
|
||||||
|
|
||||||
public int getSort() { |
|
||||||
return sort; |
|
||||||
} |
|
||||||
|
|
||||||
public void setSort(int sort) { |
|
||||||
this.sort = sort; |
|
||||||
} |
|
||||||
|
|
||||||
public int getCreate_time() { |
|
||||||
return create_time; |
|
||||||
} |
|
||||||
|
|
||||||
public void setCreate_time(int create_time) { |
|
||||||
this.create_time = create_time; |
|
||||||
} |
|
||||||
|
|
||||||
public int getUpdate_time() { |
|
||||||
return update_time; |
|
||||||
} |
|
||||||
|
|
||||||
public void setUpdate_time(int update_time) { |
|
||||||
this.update_time = update_time; |
|
||||||
} |
|
||||||
|
|
||||||
public Object getDelete_time() { |
|
||||||
return delete_time; |
|
||||||
} |
|
||||||
|
|
||||||
public void setDelete_time(Object delete_time) { |
|
||||||
this.delete_time = delete_time; |
|
||||||
} |
|
||||||
|
|
||||||
public String getBook_title() { |
|
||||||
return book_title == null ? "" : StringUtils.INSTANCE.convertCC(book_title); |
|
||||||
} |
|
||||||
|
|
||||||
public void setBook_title(String book_title) { |
|
||||||
this.book_title = book_title; |
|
||||||
} |
|
||||||
|
|
||||||
public String getBook_cover() { |
|
||||||
return book_cover == null ? "" : book_cover; |
|
||||||
} |
|
||||||
|
|
||||||
public void setBook_cover(String book_cover) { |
|
||||||
this.book_cover = book_cover; |
|
||||||
} |
|
||||||
|
|
||||||
public String getAuthor() { |
|
||||||
return author == null ? "" : StringUtils.INSTANCE.convertCC(author); |
|
||||||
} |
|
||||||
|
|
||||||
public void setAuthor(String author) { |
|
||||||
this.author = author; |
|
||||||
} |
|
||||||
|
|
||||||
public String getDescription() { |
|
||||||
return description == null ? "" : StringUtils.INSTANCE.convertCC(StringUtils.INSTANCE.delete160(description)); |
|
||||||
} |
|
||||||
|
|
||||||
public void setDescription(String description) { |
|
||||||
this.description = description; |
|
||||||
} |
|
||||||
|
|
||||||
public String getHot() { |
|
||||||
return String.valueOf(hot); |
|
||||||
} |
|
||||||
|
|
||||||
public void setHot(int hot) { |
|
||||||
this.hot = hot; |
|
||||||
} |
|
||||||
|
|
||||||
public String getLike() { |
|
||||||
return like+"%"; |
|
||||||
} |
|
||||||
|
|
||||||
public void setLike(int like) { |
|
||||||
this.like = like; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
@ -0,0 +1,67 @@ |
|||||||
|
package com.novel.read.model.protocol |
||||||
|
|
||||||
|
import com.novel.read.base.MyApp |
||||||
|
import com.novel.read.utlis.StringUtils |
||||||
|
|
||||||
|
import java.io.Serializable |
||||||
|
import java.util.ArrayList |
||||||
|
|
||||||
|
/** |
||||||
|
* create by zlj on 2019/6/19 |
||||||
|
* describe: |
||||||
|
*/ |
||||||
|
class RecommendListResp : Serializable { |
||||||
|
|
||||||
|
|
||||||
|
var list: List<ListBean> = ArrayList() |
||||||
|
|
||||||
|
class ListBean { |
||||||
|
/** |
||||||
|
* id : 5 |
||||||
|
* book_id : 10 |
||||||
|
* type : 1 |
||||||
|
* gender : 1 |
||||||
|
* sort : 10 |
||||||
|
* create_time : 1560129944 |
||||||
|
* update_time : 1560129944 |
||||||
|
* delete_time : null |
||||||
|
* book_title : 重生之末世宝典 |
||||||
|
* book_cover : http://api.duoduvip.com/uploads/nocover.jpg |
||||||
|
*/ |
||||||
|
|
||||||
|
var id: Int = 0 |
||||||
|
var book_id: Int = 0 |
||||||
|
var type: Int = 0 |
||||||
|
var gender: Int = 0 |
||||||
|
var sort: Int = 0 |
||||||
|
var create_time: Int = 0 |
||||||
|
var update_time: Int = 0 |
||||||
|
var delete_time: Any? = null |
||||||
|
var book_title: String? = null |
||||||
|
get() = if (field == null) "" else StringUtils.convertCC(field!!) |
||||||
|
var book_cover: String? = null |
||||||
|
get() = if (field == null) "" else field |
||||||
|
var author: String? = null |
||||||
|
get() = if (field == null) "" else StringUtils.convertCC(field!!) |
||||||
|
var description: String? = null |
||||||
|
get() = if (field == null) "" else StringUtils.convertCC(StringUtils.delete160(field!!)) |
||||||
|
private var hot: Int = 0 |
||||||
|
private var like: Int = 0 |
||||||
|
|
||||||
|
fun getHot(): String { |
||||||
|
return hot.toString() |
||||||
|
} |
||||||
|
|
||||||
|
fun setHot(hot: Int) { |
||||||
|
this.hot = hot |
||||||
|
} |
||||||
|
|
||||||
|
fun getLike(): String { |
||||||
|
return "$like%" |
||||||
|
} |
||||||
|
|
||||||
|
fun setLike(like: Int) { |
||||||
|
this.like = like |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -1,135 +0,0 @@ |
|||||||
package com.novel.read.model.protocol; |
|
||||||
|
|
||||||
import com.novel.read.base.MyApp; |
|
||||||
import com.novel.read.utlis.StringUtils; |
|
||||||
|
|
||||||
import java.io.Serializable; |
|
||||||
import java.util.ArrayList; |
|
||||||
import java.util.List; |
|
||||||
|
|
||||||
public class SearchResp implements Serializable { |
|
||||||
|
|
||||||
|
|
||||||
/** |
|
||||||
* book : [{"id":92,"title":"极品全能狂少","category_id":3,"cover":"http://dev.duoduvip.com/uploads/20190610/64512ebcd7e79923bc59ffc1d3afb597.png","description":"","hot":99437,"like":41,"author":"一支烟的快感","create_time":1560159443},{"id":170,"title":"抬棺匠","category_id":1,"cover":"http://dev.duoduvip.com/uploads/20190611/19cfa1ff96a4bec66b14e16b997ffba9.png","description":"","hot":99184,"like":54,"author":"陈八仙","create_time":1560205316},{"id":47,"title":"都市超级医圣","category_id":3,"cover":"http://dev.duoduvip.com/uploads/20190610/868b69fdf75dc303ca70fef4ccc8bc87.png","description":" 财法侣地,修行其实是一项非常耗钱的奢侈运动。无意中得到传说中道教学家,炼丹家,医药家葛洪的传承,淳朴的山里人葛东旭开始努力赚钱。当大多数人还在读高中时,他为了炼丹修行已经开始一边读书一边赚钱。当大多数人读大学还在为交女朋友的开销愁时,他已经是一名老板。当大多数人大学毕业在为找工作四处投简历,当富二代开着跑车,在美女面前炫耀时,他已经是一名级富一代,当然还是一名大隐隐于市的至尊医圣。<br> 各位书友要是觉得《都市超级医圣》还不错的话请不要忘记向您QQ群和微博里的朋友推荐哦!都市超级医圣最新章节,都市超级医圣无弹窗,都市超级医圣全文阅读.","hot":99056,"like":21,"author":"断桥残雪","create_time":1560129236},{"id":105,"title":"神医高手在都市","category_id":3,"cover":"http://dev.duoduvip.com/uploads/20190610/ccab1913cdaf9aee2cfeaef84910a700.png","description":"","hot":98517,"like":28,"author":"复仇","create_time":1560167691},{"id":21,"title":"夜少的心尖宝贝","category_id":1,"cover":"http://dev.duoduvip.com/uploads/20190609/c0f5c2ff7fa532e4bd399625e5edacf3.png","description":" 简介:<br> 为了能正大光明的睡乔小姐,夜少不惜采用了108种追妻方式结果有两个小萝卜头冒了出来,对他说,\u201c帅叔叔,你想追我妈咪吗我们可以教你哦\u201d夜少掀桌,\u201c叫什么叔叔乖,叫爹地\u201d夜少一生最风光得意的事情就是睡了乔小姐,留下了种,让她给自己生了两个宝贝儿子,在她的身上永恒的打上了自己的烙印夜少漫漫追妻之旅,甜甜甜,超甜宠文,1v1<br> 各位书友要是觉得《夜少的心尖宝贝》还不错的话请不要忘记向您QQ群和微博里的朋友推荐哦!夜少的心尖宝贝最新章节,夜少的心尖宝贝无弹窗,夜少的心尖宝贝全文阅读.","hot":97296,"like":64,"author":"慕欢颜","create_time":1560095819},{"id":102,"title":"万域灵神","category_id":4,"cover":"http://dev.duoduvip.com/uploads/20190610/847703596e2af187311bb9f5ab7c26b4.png","description":"","hot":97157,"like":56,"author":"乾多多","create_time":1560165904},{"id":87,"title":"至尊剑皇","category_id":4,"cover":"http://dev.duoduvip.com/uploads/20190610/711a87b0df3446885739845fba33fce4.png","description":"","hot":96684,"like":23,"author":"半步沧桑","create_time":1560156886},{"id":166,"title":"生活在美利坚的森林游侠","category_id":3,"cover":"http://dev.duoduvip.com/uploads/20190611/d663219f43a8bbba3d0718637fa0724a.png","description":"","hot":96427,"like":77,"author":"酱疙瘩","create_time":1560203771},{"id":171,"title":"三界红包群","category_id":3,"cover":"http://dev.duoduvip.com/uploads/nocover.jpg","description":"","hot":96362,"like":47,"author":"小教主","create_time":1560205922},{"id":131,"title":"命之途","category_id":2,"cover":"http://dev.duoduvip.com/uploads/nocover.jpg","description":"","hot":94835,"like":27,"author":"莫若梦兮","create_time":1560186387}] |
|
||||||
* limit : 10 |
|
||||||
*/ |
|
||||||
|
|
||||||
private int limit; |
|
||||||
private List<BookBean> book; |
|
||||||
|
|
||||||
public int getLimit() { |
|
||||||
return limit; |
|
||||||
} |
|
||||||
|
|
||||||
public void setLimit(int limit) { |
|
||||||
this.limit = limit; |
|
||||||
} |
|
||||||
|
|
||||||
public List<BookBean> getBook() { |
|
||||||
if (book == null) { |
|
||||||
return new ArrayList<>(); |
|
||||||
} |
|
||||||
return book; |
|
||||||
} |
|
||||||
|
|
||||||
public void setBook(List<BookBean> book) { |
|
||||||
this.book = book; |
|
||||||
} |
|
||||||
|
|
||||||
public static class BookBean { |
|
||||||
/** |
|
||||||
* id : 92 |
|
||||||
* title : 极品全能狂少 |
|
||||||
* category_id : 3 |
|
||||||
* cover : http://dev.duoduvip.com/uploads/20190610/64512ebcd7e79923bc59ffc1d3afb597.png
|
|
||||||
* description : |
|
||||||
* hot : 99437 |
|
||||||
* like : 41 |
|
||||||
* author : 一支烟的快感 |
|
||||||
* create_time : 1560159443 |
|
||||||
*/ |
|
||||||
|
|
||||||
private int id; |
|
||||||
private String title; |
|
||||||
private int category_id; |
|
||||||
private String cover; |
|
||||||
private String description; |
|
||||||
private int hot; |
|
||||||
private int like; |
|
||||||
private String author; |
|
||||||
private int create_time; |
|
||||||
|
|
||||||
public int getId() { |
|
||||||
return id; |
|
||||||
} |
|
||||||
|
|
||||||
public void setId(int id) { |
|
||||||
this.id = id; |
|
||||||
} |
|
||||||
|
|
||||||
public String getTitle() { |
|
||||||
return title == null ? "" : StringUtils.INSTANCE.convertCC(title); |
|
||||||
} |
|
||||||
|
|
||||||
public void setTitle(String title) { |
|
||||||
this.title = title; |
|
||||||
} |
|
||||||
|
|
||||||
public int getCategory_id() { |
|
||||||
return category_id; |
|
||||||
} |
|
||||||
|
|
||||||
public void setCategory_id(int category_id) { |
|
||||||
this.category_id = category_id; |
|
||||||
} |
|
||||||
|
|
||||||
public String getCover() { |
|
||||||
return cover == null ? "" : cover; |
|
||||||
} |
|
||||||
|
|
||||||
public void setCover(String cover) { |
|
||||||
this.cover = cover; |
|
||||||
} |
|
||||||
|
|
||||||
public String getDescription() { |
|
||||||
return description == null ? "" : StringUtils.INSTANCE.convertCC(StringUtils.INSTANCE.delete160(description)); |
|
||||||
} |
|
||||||
|
|
||||||
public void setDescription(String description) { |
|
||||||
this.description = description; |
|
||||||
} |
|
||||||
|
|
||||||
public int getHot() { |
|
||||||
return hot; |
|
||||||
} |
|
||||||
|
|
||||||
public void setHot(int hot) { |
|
||||||
this.hot = hot; |
|
||||||
} |
|
||||||
|
|
||||||
public int getLike() { |
|
||||||
return like; |
|
||||||
} |
|
||||||
|
|
||||||
public void setLike(int like) { |
|
||||||
this.like = like; |
|
||||||
} |
|
||||||
|
|
||||||
public String getAuthor() { |
|
||||||
return author == null ? "" : StringUtils.INSTANCE.convertCC(author); |
|
||||||
} |
|
||||||
|
|
||||||
public void setAuthor(String author) { |
|
||||||
this.author = author; |
|
||||||
} |
|
||||||
|
|
||||||
public int getCreate_time() { |
|
||||||
return create_time; |
|
||||||
} |
|
||||||
|
|
||||||
public void setCreate_time(int create_time) { |
|
||||||
this.create_time = create_time; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
@ -0,0 +1,46 @@ |
|||||||
|
package com.novel.read.model.protocol |
||||||
|
|
||||||
|
import com.novel.read.utlis.StringUtils |
||||||
|
|
||||||
|
import java.io.Serializable |
||||||
|
import java.util.ArrayList |
||||||
|
|
||||||
|
class SearchResp : Serializable { |
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* book : [{"id":92,"title":"极品全能狂少","category_id":3,"cover":"http://dev.duoduvip.com/uploads/20190610/64512ebcd7e79923bc59ffc1d3afb597.png","description":"","hot":99437,"like":41,"author":"一支烟的快感","create_time":1560159443},{"id":170,"title":"抬棺匠","category_id":1,"cover":"http://dev.duoduvip.com/uploads/20190611/19cfa1ff96a4bec66b14e16b997ffba9.png","description":"","hot":99184,"like":54,"author":"陈八仙","create_time":1560205316},{"id":47,"title":"都市超级医圣","category_id":3,"cover":"http://dev.duoduvip.com/uploads/20190610/868b69fdf75dc303ca70fef4ccc8bc87.png","description":" 财法侣地,修行其实是一项非常耗钱的奢侈运动。无意中得到传说中道教学家,炼丹家,医药家葛洪的传承,淳朴的山里人葛东旭开始努力赚钱。当大多数人还在读高中时,他为了炼丹修行已经开始一边读书一边赚钱。当大多数人读大学还在为交女朋友的开销愁时,他已经是一名老板。当大多数人大学毕业在为找工作四处投简历,当富二代开着跑车,在美女面前炫耀时,他已经是一名级富一代,当然还是一名大隐隐于市的至尊医圣。<br></br> 各位书友要是觉得《都市超级医圣》还不错的话请不要忘记向您QQ群和微博里的朋友推荐哦!都市超级医圣最新章节,都市超级医圣无弹窗,都市超级医圣全文阅读.","hot":99056,"like":21,"author":"断桥残雪","create_time":1560129236},{"id":105,"title":"神医高手在都市","category_id":3,"cover":"http://dev.duoduvip.com/uploads/20190610/ccab1913cdaf9aee2cfeaef84910a700.png","description":"","hot":98517,"like":28,"author":"复仇","create_time":1560167691},{"id":21,"title":"夜少的心尖宝贝","category_id":1,"cover":"http://dev.duoduvip.com/uploads/20190609/c0f5c2ff7fa532e4bd399625e5edacf3.png","description":" 简介:<br></br> 为了能正大光明的睡乔小姐,夜少不惜采用了108种追妻方式结果有两个小萝卜头冒了出来,对他说,\u201c帅叔叔,你想追我妈咪吗我们可以教你哦\u201d夜少掀桌,\u201c叫什么叔叔乖,叫爹地\u201d夜少一生最风光得意的事情就是睡了乔小姐,留下了种,让她给自己生了两个宝贝儿子,在她的身上永恒的打上了自己的烙印夜少漫漫追妻之旅,甜甜甜,超甜宠文,1v1<br></br> 各位书友要是觉得《夜少的心尖宝贝》还不错的话请不要忘记向您QQ群和微博里的朋友推荐哦!夜少的心尖宝贝最新章节,夜少的心尖宝贝无弹窗,夜少的心尖宝贝全文阅读.","hot":97296,"like":64,"author":"慕欢颜","create_time":1560095819},{"id":102,"title":"万域灵神","category_id":4,"cover":"http://dev.duoduvip.com/uploads/20190610/847703596e2af187311bb9f5ab7c26b4.png","description":"","hot":97157,"like":56,"author":"乾多多","create_time":1560165904},{"id":87,"title":"至尊剑皇","category_id":4,"cover":"http://dev.duoduvip.com/uploads/20190610/711a87b0df3446885739845fba33fce4.png","description":"","hot":96684,"like":23,"author":"半步沧桑","create_time":1560156886},{"id":166,"title":"生活在美利坚的森林游侠","category_id":3,"cover":"http://dev.duoduvip.com/uploads/20190611/d663219f43a8bbba3d0718637fa0724a.png","description":"","hot":96427,"like":77,"author":"酱疙瘩","create_time":1560203771},{"id":171,"title":"三界红包群","category_id":3,"cover":"http://dev.duoduvip.com/uploads/nocover.jpg","description":"","hot":96362,"like":47,"author":"小教主","create_time":1560205922},{"id":131,"title":"命之途","category_id":2,"cover":"http://dev.duoduvip.com/uploads/nocover.jpg","description":"","hot":94835,"like":27,"author":"莫若梦兮","create_time":1560186387}] |
||||||
|
* limit : 10 |
||||||
|
*/ |
||||||
|
|
||||||
|
var limit: Int = 0 |
||||||
|
var book: List<BookBean> = ArrayList() |
||||||
|
|
||||||
|
class BookBean { |
||||||
|
/** |
||||||
|
* id : 92 |
||||||
|
* title : 极品全能狂少 |
||||||
|
* category_id : 3 |
||||||
|
* cover : http://dev.duoduvip.com/uploads/20190610/64512ebcd7e79923bc59ffc1d3afb597.png |
||||||
|
* description : |
||||||
|
* hot : 99437 |
||||||
|
* like : 41 |
||||||
|
* author : 一支烟的快感 |
||||||
|
* create_time : 1560159443 |
||||||
|
*/ |
||||||
|
|
||||||
|
var id: Int = 0 |
||||||
|
var title: String? = null |
||||||
|
get() = if (field == null) "" else StringUtils.convertCC(field!!) |
||||||
|
var category_id: Int = 0 |
||||||
|
var cover: String? = null |
||||||
|
get() = if (field == null) "" else field |
||||||
|
var description: String? = null |
||||||
|
get() = if (field == null) "" else StringUtils.convertCC(StringUtils.delete160(field!!)) |
||||||
|
var hot: Int = 0 |
||||||
|
var like: Int = 0 |
||||||
|
var author: String? = null |
||||||
|
get() = if (field == null) "" else StringUtils.convertCC(field!!) |
||||||
|
var create_time: Int = 0 |
||||||
|
} |
||||||
|
} |
@ -1,138 +0,0 @@ |
|||||||
package com.novel.read.model.protocol; |
|
||||||
|
|
||||||
/** |
|
||||||
* create by 赵利君 on 2019/6/25 |
|
||||||
* describe: |
|
||||||
*/ |
|
||||||
public class VersionResp { |
|
||||||
|
|
||||||
/** |
|
||||||
* version : {"id":2,"version":"1.0.0","size":"5096","content":"正式上线","download":"https://play.google.com/store/apps/details?id=com.freebook.bookreader","coerce":1,"status":1,"push_time":1560060702,"create_time":1560060772,"update_time":1560752842,"delete_time":null} |
|
||||||
*/ |
|
||||||
|
|
||||||
private VersionBean version; |
|
||||||
|
|
||||||
public VersionBean getVersion() { |
|
||||||
return version; |
|
||||||
} |
|
||||||
|
|
||||||
public void setVersion(VersionBean version) { |
|
||||||
this.version = version; |
|
||||||
} |
|
||||||
|
|
||||||
public static class VersionBean { |
|
||||||
/** |
|
||||||
* id : 2 |
|
||||||
* version : 1.0.0 |
|
||||||
* size : 5096 |
|
||||||
* content : 正式上线 |
|
||||||
* download : https://play.google.com/store/apps/details?id=com.freebook.bookreader
|
|
||||||
* coerce : 1 |
|
||||||
* status : 1 |
|
||||||
* push_time : 1560060702 |
|
||||||
* create_time : 1560060772 |
|
||||||
* update_time : 1560752842 |
|
||||||
* delete_time : null |
|
||||||
*/ |
|
||||||
|
|
||||||
private int id; |
|
||||||
private String version; |
|
||||||
private String size; |
|
||||||
private String content; |
|
||||||
private String download; |
|
||||||
private int coerce; |
|
||||||
private int status; |
|
||||||
private int push_time; |
|
||||||
private int create_time; |
|
||||||
private int update_time; |
|
||||||
private Object delete_time; |
|
||||||
|
|
||||||
public int getId() { |
|
||||||
return id; |
|
||||||
} |
|
||||||
|
|
||||||
public void setId(int id) { |
|
||||||
this.id = id; |
|
||||||
} |
|
||||||
|
|
||||||
public String getVersion() { |
|
||||||
return version; |
|
||||||
} |
|
||||||
|
|
||||||
public void setVersion(String version) { |
|
||||||
this.version = version; |
|
||||||
} |
|
||||||
|
|
||||||
public String getSize() { |
|
||||||
return size; |
|
||||||
} |
|
||||||
|
|
||||||
public void setSize(String size) { |
|
||||||
this.size = size; |
|
||||||
} |
|
||||||
|
|
||||||
public String getContent() { |
|
||||||
return content; |
|
||||||
} |
|
||||||
|
|
||||||
public void setContent(String content) { |
|
||||||
this.content = content; |
|
||||||
} |
|
||||||
|
|
||||||
public String getDownload() { |
|
||||||
return download; |
|
||||||
} |
|
||||||
|
|
||||||
public void setDownload(String download) { |
|
||||||
this.download = download; |
|
||||||
} |
|
||||||
|
|
||||||
public int getCoerce() { |
|
||||||
return coerce; |
|
||||||
} |
|
||||||
|
|
||||||
public void setCoerce(int coerce) { |
|
||||||
this.coerce = coerce; |
|
||||||
} |
|
||||||
|
|
||||||
public int getStatus() { |
|
||||||
return status; |
|
||||||
} |
|
||||||
|
|
||||||
public void setStatus(int status) { |
|
||||||
this.status = status; |
|
||||||
} |
|
||||||
|
|
||||||
public int getPush_time() { |
|
||||||
return push_time; |
|
||||||
} |
|
||||||
|
|
||||||
public void setPush_time(int push_time) { |
|
||||||
this.push_time = push_time; |
|
||||||
} |
|
||||||
|
|
||||||
public int getCreate_time() { |
|
||||||
return create_time; |
|
||||||
} |
|
||||||
|
|
||||||
public void setCreate_time(int create_time) { |
|
||||||
this.create_time = create_time; |
|
||||||
} |
|
||||||
|
|
||||||
public int getUpdate_time() { |
|
||||||
return update_time; |
|
||||||
} |
|
||||||
|
|
||||||
public void setUpdate_time(int update_time) { |
|
||||||
this.update_time = update_time; |
|
||||||
} |
|
||||||
|
|
||||||
public Object getDelete_time() { |
|
||||||
return delete_time; |
|
||||||
} |
|
||||||
|
|
||||||
public void setDelete_time(Object delete_time) { |
|
||||||
this.delete_time = delete_time; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
@ -0,0 +1,42 @@ |
|||||||
|
package com.novel.read.model.protocol |
||||||
|
|
||||||
|
/** |
||||||
|
* create by 赵利君 on 2019/6/25 |
||||||
|
* describe: |
||||||
|
*/ |
||||||
|
class VersionResp { |
||||||
|
|
||||||
|
/** |
||||||
|
* version : {"id":2,"version":"1.0.0","size":"5096","content":"正式上线","download":"https://play.google.com/store/apps/details?id=com.freebook.bookreader","coerce":1,"status":1,"push_time":1560060702,"create_time":1560060772,"update_time":1560752842,"delete_time":null} |
||||||
|
*/ |
||||||
|
|
||||||
|
var version: VersionBean = VersionBean() |
||||||
|
|
||||||
|
class VersionBean { |
||||||
|
/** |
||||||
|
* id : 2 |
||||||
|
* version : 1.0.0 |
||||||
|
* size : 5096 |
||||||
|
* content : 正式上线 |
||||||
|
* download : https://play.google.com/store/apps/details?id=com.freebook.bookreader |
||||||
|
* coerce : 1 |
||||||
|
* status : 1 |
||||||
|
* push_time : 1560060702 |
||||||
|
* create_time : 1560060772 |
||||||
|
* update_time : 1560752842 |
||||||
|
* delete_time : null |
||||||
|
*/ |
||||||
|
|
||||||
|
var id: Int = 0 |
||||||
|
var version: String? = null |
||||||
|
var size: String? = null |
||||||
|
var content: String? = null |
||||||
|
var download: String? = null |
||||||
|
var coerce: Int = 0 |
||||||
|
var status: Int = 0 |
||||||
|
var push_time: Int = 0 |
||||||
|
var create_time: Int = 0 |
||||||
|
var update_time: Int = 0 |
||||||
|
var delete_time: Any? = null |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue