1 43 package net.jforum.entities; 44 45 import java.io.Serializable ; 46 47 51 public class LastPostInfo implements Serializable 52 { 53 private long postTimeMillis; 54 private int topicId; 55 private int postId; 56 private int userId; 57 private int topicReplies; 58 private String username; 59 private String postDate; 60 private boolean hasInfo; 61 62 public void setHasInfo(boolean value) { 63 this.hasInfo = value; 64 } 65 66 public boolean hasInfo() { 67 return this.hasInfo; 68 } 69 70 71 74 public String getPostDate() { 75 return this.postDate; 76 } 77 80 public void setPostDate(String postDate) { 81 this.postDate = postDate; 82 } 83 86 public int getPostId() { 87 return this.postId; 88 } 89 92 public void setPostId(int postId) { 93 this.postId = postId; 94 } 95 98 public long getPostTimeMillis() { 99 return this.postTimeMillis; 100 } 101 104 public void setPostTimeMillis(long postTimeMillis) { 105 this.postTimeMillis = postTimeMillis; 106 } 107 110 public int getTopicId() { 111 return this.topicId; 112 } 113 116 public void setTopicId(int topicId) { 117 this.topicId = topicId; 118 } 119 122 public int getTopicReplies() { 123 return this.topicReplies; 124 } 125 128 public void setTopicReplies(int topicReplies) { 129 this.topicReplies = topicReplies; 130 } 131 134 public int getUserId() { 135 return this.userId; 136 } 137 140 public void setUserId(int userId) { 141 this.userId = userId; 142 } 143 146 public String getUsername() { 147 return this.username; 148 } 149 152 public void setUsername(String username) { 153 this.username = username; 154 } 155 } 156 | Popular Tags |