mirror of https://github.com/ThmmyNoLife/mTHMMY
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
841 B
37 lines
841 B
package gr.thmmy.mthmmy.data;
|
|
|
|
public class Post {
|
|
private final String thumbnailUrl;
|
|
private final String author;
|
|
private final String subject;
|
|
private final String content;
|
|
private final int postNumber;
|
|
|
|
public Post(String thumbnailUrl, String author, String subject, String content, int postNumber) {
|
|
this.thumbnailUrl = thumbnailUrl;
|
|
this.author = author;
|
|
this.subject = subject;
|
|
this.content = content;
|
|
this.postNumber = postNumber;
|
|
}
|
|
|
|
public String getThumbnailUrl() {
|
|
return thumbnailUrl;
|
|
}
|
|
|
|
public String getContent() {
|
|
return content;
|
|
}
|
|
|
|
public String getAuthor() {
|
|
return author;
|
|
}
|
|
|
|
public String getSubject() {
|
|
return subject;
|
|
}
|
|
|
|
public int getPostNumber() {
|
|
return postNumber;
|
|
}
|
|
}
|
|
|