package me.anany.weikandian.entry;

import java.util.List;

/**
 * Created by anany on 16/1/21.
 * <p>
 * Email:zhujun2730@gmail.com
 */
public class HomeChannel {


    /**
     * error_code : 0
     * items : [{"id":"5","is_use":"1","name":"笑话","pic":"http://file.weixinkd.com/article_201512_25_258_567ce26b9fe1a.jpg/120x120","sname":"笑话"},{"id":"2","is_use":"1","name":"美文","pic":"http://file.weixinkd.com/article_201512_25_253_567ce26c21244.jpg/120x120","sname":"美文"},{"id":"3","is_use":"1","name":"健康","pic":"http://file.weixinkd.com/article_201512_25_25y_567ce26cf34a3.jpg/120x120","sname":"健康"},{"id":"19","is_use":"1","name":"娱乐","pic":"http://file.weixinkd.com/article_201512_25_25l_567ce26d70461.jpg/120x120","sname":"娱乐"},{"id":"25","is_use":"1","name":"社会","pic":"http://file.weixinkd.com/article_201512_25_25l_567ce26e1dfce.jpg/120x120","sname":"社会"},{"id":"10","is_use":"1","name":"科技","pic":"http://file.weixinkd.com/article_201512_25_25e_567ce26e792d5.jpg/120x120","sname":"科技"},{"id":"21","is_use":"1","name":"生活","pic":"http://file.weixinkd.com/article_201512_25_25a_567ce26ed0f7e.jpg/120x120","sname":"生活"},{"id":"11","is_use":"1","name":"财经","pic":"http://file.weixinkd.com/article_201512_25_25e_567ce26f36e55.jpg/120x120","sname":"财经"},{"id":"13","is_use":"1","name":"汽车","pic":"http://file.weixinkd.com/article_201512_25_25t_567ce26f9bacf.jpg/120x120","sname":"汽车"},{"id":"15","is_use":"0","name":"体育","pic":"http://file.weixinkd.com/article_201512_25_25m_567ce2705eb84.jpg/120x120","sname":"体育"},{"id":"18","is_use":"0","name":"情感","pic":"http://file.weixinkd.com/article_201512_25_25o_567ce270d3e81.jpg/120x120","sname":"情感"},{"id":"23","is_use":"1","name":"探索","pic":"http://file.weixinkd.com/article_201512_25_25m_567ce271bdab4.jpg/120x120","sname":"探索"},{"id":"6","is_use":"1","name":"职场","pic":"http://file.weixinkd.com/article_201512_25_256_567ce27217fe9.jpg/120x120","sname":"职场"},{"id":"4","is_use":"1","name":"美食","pic":"http://file.weixinkd.com/article_201512_25_25f_567ce27273c78.jpg/120x120","sname":"美食"},{"id":"17","is_use":"1","name":"时尚","pic":"http://file.weixinkd.com/article_201512_25_25d_567ce272e45bf.jpg/120x120","sname":"时尚"},{"id":"7","is_use":"1","name":"旅游","pic":"http://file.weixinkd.com/article_201512_25_25x_567ce273522c6.jpg/120x120","sname":"旅游"},{"id":"8","is_use":"1","name":"育儿","pic":"http://file.weixinkd.com/article_201512_25_256_567ce273c616c.jpg/120x120","sname":"育儿"},{"id":"9","is_use":"1","name":"教育","pic":"http://file.weixinkd.com/article_201512_25_25s_567ce2743af9b.jpg/120x120","sname":"教育"},{"id":"16","is_use":"0","name":"星座","pic":"http://file.weixinkd.com/article_201512_25_255_567ce27493f98.jpg/120x120","sname":"星座"},{"id":"24","is_use":"0","name":"宠物","pic":"http://file.weixinkd.com/article_201512_25_25k_567ce27508009.jpg/120x120","sname":"宠物"},{"id":"151","is_use":"1","name":"明星八卦","pic":"http://file.weixinkd.com/article_201509_23_23l_56024893ed212.jpg/120x120","sname":"明星八卦"},{"id":"1274","is_use":"1","name":"社会资讯","pic":"http://file.weixinkd.com/201509_23_23w_56028b6f0ee4c.jpg/120x120","sname":"社会资讯"},{"id":"542","is_use":"1","name":"国内财经","pic":"http://file.weixinkd.com/article_201509_23_231_560249f7e9c06.jpg/120x120","sname":"国内财经"},{"id":"1297","is_use":"1","name":"要闻","pic":"http://file.weixinkd.com/201511_19_190_564d97702379b.jpg/120x120","sname":"要闻"},{"id":"149","is_use":"1","name":"内地娱乐","pic":"http://file.weixinkd.com/article_201509_23_23h_560248936ab81.jpg/120x120","sname":"内地娱乐"},{"id":"1256","is_use":"1","name":"图片笑话","pic":"http://file.weixinkd.com/201509_23_23l_560275e2cb26c.jpg/120x120","sname":"图片笑话"},{"id":"150","is_use":"1","name":"港台娱乐","pic":"http://file.weixinkd.com/article_201509_23_23u_56024893a861f.jpg/120x120","sname":"港台娱乐"},{"id":"48","is_use":"1","name":"养生","pic":"http://file.weixinkd.com/article_201509_23_23i_56024833965f1.jpg/120x120","sname":"养生"},{"id":"285","is_use":"1","name":"民生政策","pic":"http://file.weixinkd.com/article_201509_23_236_560248ec21f40.jpg/120x120","sname":"民生政策"},{"id":"284","is_use":"1","name":"法制案例","pic":"http://file.weixinkd.com/article_201509_23_230_560248ebca63b.jpg/120x120","sname":"法制案例"},{"id":"736","is_use":"1","name":"野史趣闻","pic":"http://file.weixinkd.com/article_201509_23_236_56024ab947fa9.jpg/120x120","sname":"野史趣闻"},{"id":"1260","is_use":"1","name":"经典语录","pic":"http://file.weixinkd.com/201509_23_23a_560276cb1d134.jpg/120x120","sname":"经典语录"},{"id":"148","is_use":"1","name":"电视剧","pic":"http://file.weixinkd.com/article_201509_23_23r_56024892e6e1d.jpg/120x120","sname":"电视剧"},{"id":"146","is_use":"1","name":"电影","pic":"http://file.weixinkd.com/article_201509_23_23i_560248923199c.jpg/120x120","sname":"电影"},{"id":"49","is_use":"1","name":"男性健康","pic":"http://file.weixinkd.com/article_201509_23_23w_56024833dc8d5.jpg/120x120","sname":"男性健康"},{"id":"50","is_use":"1","name":"女性健康","pic":"http://file.weixinkd.com/article_201509_23_23y_560248343eb00.jpg/120x120","sname":"女性健康"},{"id":"1293","is_use":"1","name":"足球","pic":"http://file.weixinkd.com/201509_23_23o_560298967d777.jpg/120x120","sname":"足球"},{"id":"543","is_use":"1","name":"国际财经","pic":"http://file.weixinkd.com/article_201509_23_23b_560249f847fdb.jpg/120x120","sname":"国际财经"},{"id":"1257","is_use":"1","name":"文字笑话","pic":"http://file.weixinkd.com/201509_23_23f_5602767052bee.png/120x120","sname":"文字笑话"},{"id":"1258","is_use":"1","name":"GIF图","pic":"http://file.weixinkd.com/201509_23_237_56027652752d5.jpg/120x120","sname":"GIF图"},{"id":"1300","is_use":"1","name":"国防力量","pic":"http://file.weixinkd.com/201512_08_08m_5666ab4632c5a.jpg/120x120","sname":"国防力量"},{"id":"147","is_use":"1","name":"音乐","pic":"http://file.weixinkd.com/article_201509_23_23b_56024892a3bf1.jpg/120x120","sname":"音乐"},{"id":"1141","is_use":"1","name":"饮食营养","pic":"http://file.weixinkd.com/article_201509_23_23j_56024c85d8f83.jpg/120x120","sname":"饮食营养"},{"id":"153","is_use":"1","name":"日韩娱乐","pic":"http://file.weixinkd.com/article_201509_23_23u_56024894bdc73.jpg/120x120","sname":"日韩娱乐"},{"id":"286","is_use":"1","name":"家庭伦理","pic":"http://file.weixinkd.com/article_201509_23_231_560248ec8eb2c.jpg/120x120","sname":"家庭伦理"},{"id":"1275","is_use":"1","name":"人间百态","pic":"http://file.weixinkd.com/201509_23_23v_56028beb2c94e.jpg/120x120","sname":"人间百态"},{"id":"1259","is_use":"1","name":"心灵鸡汤","pic":"http://file.weixinkd.com/201509_23_232_560276d958097.jpg/120x120","sname":"心灵鸡汤"},{"id":"619","is_use":"1","name":"汽车资讯","pic":"http://file.weixinkd.com/article_201509_23_23d_56024a3fcd32e.jpg/120x120","sname":"汽车资讯"},{"id":"803","is_use":"1","name":"企业管理","pic":"http://file.weixinkd.com/article_201509_23_23b_56024b0ce3410.jpg/120x120","sname":"企业管理"},{"id":"1023","is_use":"1","name":"旅游攻略","pic":"http://file.weixinkd.com/article_201509_23_235_56024c1fbb3c7.jpg/120x120","sname":"旅游攻略"}]
     * message : 返回成功
     * success : true
     */

    private String error_code;
    private String message;
    private boolean success;

    /**
     * id : 5
     * is_use : 1
     * name : 笑话
     * pic : http://file.weixinkd.com/article_201512_25_258_567ce26b9fe1a.jpg/120x120
     * sname : 笑话
     */

    private List<HomeChannelItem> items;

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public void setItems(List<HomeChannelItem> items) {
        this.items = items;
    }

    public String getError_code() {
        return error_code;
    }

    public String getMessage() {
        return message;
    }

    public boolean isSuccess() {
        return success;
    }

    public List<HomeChannelItem> getItems() {
        return items;
    }

    public static class HomeChannelItem {
        private String id;
        private String is_use;
        private String name;
        private String pic;
        private String sname;

        public void setId(String id) {
            this.id = id;
        }

        public void setIs_use(String is_use) {
            this.is_use = is_use;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public void setSname(String sname) {
            this.sname = sname;
        }

        public String getId() {
            return id;
        }

        public String getIs_use() {
            return is_use;
        }

        public String getName() {
            return name;
        }

        public String getPic() {
            return pic;
        }

        public String getSname() {
            return sname;
        }
    }
}
