diff --git a/src/com/annimon/client/entities/ForumSection.java b/src/com/annimon/client/entities/ForumSection.java new file mode 100644 index 0000000..b80906d --- /dev/null +++ b/src/com/annimon/client/entities/ForumSection.java @@ -0,0 +1,36 @@ +package com.annimon.client.entities; + +public class ForumSection { + + private int id; + private String name; + + public ForumSection(String name) { + this(-1, name); + } + + public ForumSection(int id, String name) { + this.id = id; + this.name = name; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public boolean isHeader() { + return (id == -1); + } +} \ No newline at end of file