From 0eb3fc8b3b719612b1e72b8827759b1653db94ac Mon Sep 17 00:00:00 2001 From: Victor Date: Fri, 10 Jan 2014 14:28:02 +0200 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D1=81=D1=83=D1=89=D0=BD=D0=BE=D1=81=D1=82=D1=8C?= =?UTF-8?q?=20ForumTopic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../annimon/client/entities/ForumTopic.java | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/com/annimon/client/entities/ForumTopic.java 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