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


public class PostModel {
}

@@ -44,31 +44,1200 @@
 ;%0A%0A%0A
-public class PostModel %7B
+import java.util.Date;%0A%0Apublic class PostModel %7B%0A    private String mTitle;%0A    private String mAuthor;%0A    private Date mDate;%0A    private int mCommentNumber;%0A    private String mThumbnail; // This is the image URL%0A%0A    public PostModel(String title, String author, Date date, int commentNumber, String thumbnail) %7B%0A        mTitle = title;%0A        mAuthor = author;%0A        mDate = date;%0A        mCommentNumber = commentNumber;%0A        mThumbnail = thumbnail;%0A    %7D%0A%0A    public String getTitle() %7B%0A        return mTitle;%0A    %7D%0A%0A    public void setTitle(String title) %7B%0A        mTitle = title;%0A    %7D%0A%0A    public String getAuthor() %7B%0A        return mAuthor;%0A    %7D%0A%0A    public void setAuthor(String author) %7B%0A        mAuthor = author;%0A    %7D%0A%0A    public Date getDate() %7B%0A        return mDate;%0A    %7D%0A%0A    public void setDate(Date date) %7B%0A        mDate = date;%0A    %7D%0A%0A    public int getCommentNumber() %7B%0A        return mCommentNumber;%0A    %7D%0A%0A    public void setCommentNumber(int commentNumber) %7B%0A        mCommentNumber = commentNumber;%0A    %7D%0A%0A    public String getThumbnail() %7B%0A        return mThumbnail;%0A    %7D%0A%0A    public void setThumbnail(String thumbnail) %7B%0A        mThumbnail = thumbnail;%0A    %7D
 %0A%7D%0A

Add a post model