diff --git a/src/com/annimon/client/entities/ForumTopic.java b/src/com/annimon/client/entities/ForumTopic.java new file mode 100644 index 0000000..d0dde8f --- /dev/null +++ b/src/com/annimon/client/entities/ForumTopic.java @@ -0,0 +1,36 @@ +package com.annimon.client.entities; + +public class ForumTopic { + + private int id; + private String title; + private int creationDate; + + public int getId() { + return id; + } + + public void setId(int topicId) { + this.id = topicId; + } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public int getCreationDateTimestamp() { + return creationDate; + } + + public void setCreationDate(int date) { + this.creationDate = date; + } + + public String getCreationDate() { + return "Дата: " + creationDate; + } +} \ No newline at end of file