package ar.edu.unc.famaf.redditreader.model;


import java.util.Date;

public class PostModel {
    private String mTitle;
    private String mAuthor;
    private Date mDate;
    private int mCommentNumber;
    private String mThumbnail; // This is the image URL

    public PostModel(String title, String author, Date date, int commentNumber, String thumbnail) {
        mTitle = title;
        mAuthor = author;
        mDate = date;
        mCommentNumber = commentNumber;
        mThumbnail = thumbnail;
    }

    public String getTitle() {
        return mTitle;
    }

    public void setTitle(String title) {
        mTitle = title;
    }

    public String getAuthor() {
        return mAuthor;
    }

    public void setAuthor(String author) {
        mAuthor = author;
    }

    public Date getDate() {
        return mDate;
    }

    public void setDate(Date date) {
        mDate = date;
    }

    public int getCommentNumber() {
        return mCommentNumber;
    }

    public void setCommentNumber(int commentNumber) {
        mCommentNumber = commentNumber;
    }

    public String getThumbnail() {
        return mThumbnail;
    }

    public void setThumbnail(String thumbnail) {
        mThumbnail = thumbnail;
    }
}

@@ -257,16 +257,48 @@
 ge URL%0A%0A
+    public PostModel() %7B%0A    %7D%0A%0A
     publ

Add an empty constructor to PostModel