EditRecomendBean.java 5.85 KB
package com.cnlive.goldenline.model;

import java.util.List;

/**
 * Created by luxiaoman on 2017/4/8.
 */

public class EditRecomendBean{

    /**
     * errMsg : 成功
     * code : 0
     * data : [{"id":2,"createTime":"2017-03-27 08:23:26","updateTime":"2017-03-29 05:00:34","enabled":1,"theatreName":"测试剧院","theatreCover":"http://shtml.asia-cloud.com/touxiang/2.png","description":"这是测试的简介","channelId":"ceshijuyuan","boxOffice":null,"theatreStatus":1,"recommend":1,"playTour":null},{"id":3,"createTime":"2017-03-28 03:58:47","updateTime":"2017-03-28 03:58:47","enabled":0,"theatreName":"测试剧场","theatreCover":"http://shtml.asia-cloud.com/touxiang/3.png","description":"测试简介","channelId":"ceshijuchang","boxOffice":null,"theatreStatus":0,"recommend":1,"playTour":null},{"id":4,"createTime":"2017-03-28 03:59:58","updateTime":"2017-03-28 03:59:58","enabled":0,"theatreName":"测试剧场","theatreCover":"http://shtml.asia-cloud.com/touxiang/4.png","description":"测试简介","channelId":"ceshi juchang","boxOffice":null,"theatreStatus":0,"recommend":1,"playTour":null},{"id":5,"createTime":"2017-03-28 05:25:24","updateTime":"2017-03-28 05:25:24","enabled":0,"theatreName":"剧场名称","theatreCover":"http://shtml.asia-cloud.com/touxiang/5.png","description":"","channelId":"juchang","boxOffice":null,"theatreStatus":0,"recommend":1,"playTour":null}]
     */

    private String errMsg;
    private int code;
    private List<DataBean> data;

    @Override
    public String toString() {
        return "EditRecomendBean{" +
                "errMsg='" + errMsg + '\'' +
                ", code=" + code +
                ", data=" + data +
                '}';
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 2
         * createTime : 2017-03-27 08:23:26
         * updateTime : 2017-03-29 05:00:34
         * enabled : 1
         * theatreName : 测试剧院
         * theatreCover : http://shtml.asia-cloud.com/touxiang/2.png
         * description : 这是测试的简介
         * channelId : ceshijuyuan
         * boxOffice : null
         * theatreStatus : 1
         * recommend : 1
         * playTour : null
         */

        private int id;
        private String createTime;
        private String updateTime;
        private int enabled;
        private String theatreName;
        private String theatreCover;
        private String description;
        private String channelId;
        private Object boxOffice;
        private int theatreStatus;
        private int recommend;
        private Object playTour;

        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", createTime='" + createTime + '\'' +
                    ", updateTime='" + updateTime + '\'' +
                    ", enabled=" + enabled +
                    ", theatreName='" + theatreName + '\'' +
                    ", theatreCover='" + theatreCover + '\'' +
                    ", description='" + description + '\'' +
                    ", channelId='" + channelId + '\'' +
                    ", boxOffice=" + boxOffice +
                    ", theatreStatus=" + theatreStatus +
                    ", recommend=" + recommend +
                    ", playTour=" + playTour +
                    '}';
        }

        public int getId() {
            return id;
        }

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

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getEnabled() {
            return enabled;
        }

        public void setEnabled(int enabled) {
            this.enabled = enabled;
        }

        public String getTheatreName() {
            return theatreName;
        }

        public void setTheatreName(String theatreName) {
            this.theatreName = theatreName;
        }

        public String getTheatreCover() {
            return theatreCover;
        }

        public void setTheatreCover(String theatreCover) {
            this.theatreCover = theatreCover;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getChannelId() {
            return channelId;
        }

        public void setChannelId(String channelId) {
            this.channelId = channelId;
        }

        public Object getBoxOffice() {
            return boxOffice;
        }

        public void setBoxOffice(Object boxOffice) {
            this.boxOffice = boxOffice;
        }

        public int getTheatreStatus() {
            return theatreStatus;
        }

        public void setTheatreStatus(int theatreStatus) {
            this.theatreStatus = theatreStatus;
        }

        public int getRecommend() {
            return recommend;
        }

        public void setRecommend(int recommend) {
            this.recommend = recommend;
        }

        public Object getPlayTour() {
            return playTour;
        }

        public void setPlayTour(Object playTour) {
            this.playTour = playTour;
        }
    }
}