content: package com.example.myrecyclviewdemo.bean;
  
  import java.util.List;
  
  /**
   * Created by 丁瑞 on 2017/2/2.
   */
  
  public class Headerbean {
  
      @Override
      public String toString() {
          return "Headerbean{" +
                  "data=" + data +
                  '}';
      }
  
      private List<DataBean> data;
  
      public List<DataBean> getData() {
          return data;
      }
  
      public void setData(List<DataBean> data) {
          this.data = data;
      }
  
      public static class DataBean {
          @Override
          public String toString() {
              return "DataBean{" +
                      "id=" + id +
                      ", name='" + name + '\'' +
                      ", imgUrl='" + imgUrl + '\'' +
                      ", type=" + type +
                      '}';
          }
  
          /**
           * id : 1
           * name : 音箱狂欢
           * imgUrl : http://7mno4h.com2.z0.glb.qiniucdn.com/5608f3b5Nc8d90151.jpg
           * type : 1
           */
  
          private int id;
          private String name;
          private String imgUrl;
          private int type;
  
          public int getId() {
              return id;
          }
  
          public void setId(int id) {
              this.id = id;
          }
  
          public String getName() {
              return name;
          }
  
          public void setName(String name) {
              this.name = name;
          }
  
          public String getImgUrl() {
              return imgUrl;
          }
  
          public void setImgUrl(String imgUrl) {
              this.imgUrl = imgUrl;
          }
  
          public int getType() {
              return type;
          }
  
          public void setType(int type) {
              this.type = type;
          }
      }
  }
  