HomeDataResponse.java 1.62 KB
package com.cnlive.goldenline.model.response;

import com.cnlive.goldenline.model.response.bean.LiveShowBean;

import java.util.List;

/**
 * Description:
 * Created on 2017/3/29
 * Author : 萧
 */
public class HomeDataResponse extends BaseResponse {

    /**
     * 推荐直播
     */
    private List<LiveShowBean> onlineLiveList;

    /**
     * 重磅预约
     */
    private List<LiveShowBean> appointmentLiveList;

    public HomeDataResponse() {

    }

    public HomeDataResponse(List<LiveShowBean> onlineLiveList, List<LiveShowBean> appointmentLiveList) {
        this.onlineLiveList = onlineLiveList;
        this.appointmentLiveList = appointmentLiveList;
    }

    public HomeDataResponse(int code, String errMsg, List<LiveShowBean> onlineLiveList, List<LiveShowBean> appointmentLiveList) {
        super(code, errMsg);
        this.onlineLiveList = onlineLiveList;
        this.appointmentLiveList = appointmentLiveList;
    }

    public List<LiveShowBean> getOnlineLiveList() {
        return onlineLiveList;
    }

    public void setOnlineLiveList(List<LiveShowBean> onlineLiveList) {
        this.onlineLiveList = onlineLiveList;
    }

    public List<LiveShowBean> getAppointmentLiveList() {
        return appointmentLiveList;
    }

    public void setAppointmentLiveList(List<LiveShowBean> appointmentLiveList) {
        this.appointmentLiveList = appointmentLiveList;
    }

    @Override
    public String toString() {
        return "HomeDataResponse{" +
                "onlineLiveList=" + onlineLiveList +
                ", appointmentLiveList=" + appointmentLiveList +
                "} " + super.toString();
    }
}