Bean类

public class NewsBean {
private List items;

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

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

public class ListBean{
    private int type;
    private String title;
    private String desc;
    private String image;
    private List<ImageBean> images;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public List<ImageBean> getImages() {
        return images;
    }

    public void setImages(List<ImageBean> images) {
        this.images = images;
    }

    public class ImageBean{
        private String pic;

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

猜你喜欢

转载自blog.csdn.net/ZJYLHF/article/details/82831131