Изменена структура ForumPost
This commit is contained in:
parent
ab2c657c9f
commit
5cdacf629e
@ -2,17 +2,26 @@ package com.annimon.client.entities;
|
|||||||
|
|
||||||
public class ForumPost {
|
public class ForumPost {
|
||||||
|
|
||||||
private String forumTitle;
|
private int topicId;
|
||||||
|
private String topicTitle;
|
||||||
private String author;
|
private String author;
|
||||||
private String date;
|
private int date;
|
||||||
private String message;
|
private String message;
|
||||||
|
|
||||||
public String getForumTitle() {
|
public int getTopicId() {
|
||||||
return forumTitle;
|
return topicId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setForumTitle(String forumTitle) {
|
public void setTopicId(int topicId) {
|
||||||
this.forumTitle = forumTitle;
|
this.topicId = topicId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTopicTitle() {
|
||||||
|
return topicTitle;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTopicTitle(String forumTitle) {
|
||||||
|
this.topicTitle = forumTitle;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getAuthor() {
|
public String getAuthor() {
|
||||||
@ -24,14 +33,18 @@ public class ForumPost {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public String getDate() {
|
public int getDateTimestamp() {
|
||||||
return date;
|
return date;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setDate(String date) {
|
public void setDate(int date) {
|
||||||
this.date = date;
|
this.date = date;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getDate() {
|
||||||
|
return "Äàòà: " + date;
|
||||||
|
}
|
||||||
|
|
||||||
public String getMessage() {
|
public String getMessage() {
|
||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user