// Path: app/src/main/java/moe/yukinoneko/gcomic/database/model/ReadHistoryModel.java
// @Table("gcomic_read_history")
// public class ReadHistoryModel {
// 
//     @PrimaryKey(AssignType.BY_MYSELF)
//     public int comicId;
// 
//     public int chapterId;
// 
//     public int browsePosition;
// 
//     public ReadHistoryModel(int comicId, int chapterId, int browsePosition) {
//         this.comicId = comicId;
//         this.chapterId = chapterId;
//         this.browsePosition = browsePosition;
//     }
// }


import android.os.Parcel;
import android.os.Parcelable;
import com.squareup.moshi.Json;
import java.util.ArrayList;
import java.util.List;
import moe.yukinoneko.gcomic.database.model.ReadHistoryModel;
/*
 * Copyright (C) 2016  SamuelGjk <samuel.alva@outlook.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package moe.yukinoneko.gcomic.data;





/**
 * Created by SamuelGjk on 2016/4/6.
 */
public class ComicData {
    public int id;
    public String islong;
    public int direction;
    public String title;
    @Json(name = "is_dmzj") public int isDmzj;
    public String cover;
    public String description;
    @Json(name = "last_updatetime") public int lastUpdatetime;
    public int copyright;
    @Json(name = "first_letter") public String firstLetter;
    @Json(name = "hot_num") public int hotNum;
    public Object uid;
    @Json(name = "subscribe_num") public int subscribeNum;
    public CommentBean comment;
    public List<TypesBean> types;
    public List<AuthorsBean> authors;
    public List<StatusBean> status;
    public List<ChaptersBean> chapters;

    public List<Integer> downloadedChapters = new ArrayList<>();

// Path: app/src/main/java/moe/yukinoneko/gcomic/database/model/ReadHistoryModel.java
// @Table("gcomic_read_history")
// public class ReadHistoryModel {
// 
//     @PrimaryKey(AssignType.BY_MYSELF)
//     public int comicId;
// 
//     public int chapterId;
// 
//     public int browsePosition;
// 
//     public ReadHistoryModel(int comicId, int chapterId, int browsePosition) {
//         this.comicId = comicId;
//         this.chapterId = chapterId;
//         this.browsePosition = browsePosition;
//     }
// }


// Path: app/src/main/java/moe/yukinoneko/gcomic/data/ComicData.java
import android.os.Parcel;
import android.os.Parcelable;
import com.squareup.moshi.Json;
import java.util.ArrayList;
import java.util.List;
import moe.yukinoneko.gcomic.database.model.ReadHistoryModel;

/*
 * Copyright (C) 2016  SamuelGjk <samuel.alva@outlook.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package moe.yukinoneko.gcomic.data;





/**
 * Created by SamuelGjk on 2016/4/6.
 */
public class ComicData {
    public int id;
    public String islong;
    public int direction;
    public String title;
    @Json(name = "is_dmzj") public int isDmzj;
    public String cover;
    public String description;
    @Json(name = "last_updatetime") public int lastUpdatetime;
    public int copyright;
    @Json(name = "first_letter") public String firstLetter;
    @Json(name = "hot_num") public int hotNum;
    public Object uid;
    @Json(name = "subscribe_num") public int subscribeNum;
    public CommentBean comment;
    public List<TypesBean> types;
    public List<AuthorsBean> authors;
    public List<StatusBean> status;
    public List<ChaptersBean> chapters;

    public List<Integer> downloadedChapters = new ArrayList<>();

    public ReadHistoryModel readHistory;