📄 reply.java
字号:
/*
* Created on 2005-10-15
* Last modified on 2007-11-9
* Powered by YeQiangWei.com
*/
package com.yeqiangwei.club.model;
public class Reply implements java.io.Serializable{
/**
*
*/
private static final long serialVersionUID = -4314354537317609922L;
private int replyId = 0;
private int topicId = 0;
private int orderlist = 0;
private int layer = 0;
private int tree = 0;
private String title = "";
private int userId = 0;
private String userName;
private String password;
private String userIp;
private int forumId = 0;
private byte mood = 0;
private byte project = 0;
private byte type = 0; //特殊类型
private long createDateTime = 0;
private String lastReplyUserName = "";
private long lastReplyDateTime = 0;
private int views = 0;
private int replys = 0;
private int contentLength = 0; //文章长度
private boolean isPassed = true; //帖子审核是否通过
private boolean isDeleted = false; //帖子预删除
private boolean isManaged = false; //帖子是否被管理过,以决定是查询管理日志!
private RContent rContent;
private User user;
private byte localizeImage = 0;
private User SessionUser; //验证权限
private Topic topic; //每篇回复对应一个主题
public Topic getTopic() {
return topic;
}
public void setTopic(Topic topic) {
this.topic = topic;
}
public User getSessionUser() {
return SessionUser;
}
public void setSessionUser(User sessionUser) {
SessionUser = sessionUser;
}
public byte getLocalizeImage() {
return localizeImage;
}
public void setLocalizeImage(byte localizeImage) {
this.localizeImage = localizeImage;
}
public RContent getRContent() {
return rContent;
}
public void setRContent(RContent content) {
rContent = content;
}
public User getUser() {
return user;
}
public void setUser(User user) {
this.user = user;
}
public boolean getIsManaged() {
return isManaged;
}
public void setIsManaged(boolean isManaged) {
this.isManaged = isManaged;
}
public int getOrderlist() {
return orderlist;
}
public void setOrderlist(int orderlist) {
this.orderlist = orderlist;
}
public int getContentLength() {
return contentLength;
}
public void setContentLength(int contentLength) {
this.contentLength = contentLength;
}
public long getCreateDateTime() {
return createDateTime;
}
public void setCreateDateTime(long createDateTime) {
this.createDateTime = createDateTime;
}
public int getForumId() {
return forumId;
}
public void setForumId(int forumId) {
this.forumId = forumId;
}
public boolean getIsDeleted() {
return isDeleted;
}
public void setIsDeleted(boolean isDeleted) {
this.isDeleted = isDeleted;
}
public boolean getIsPassed() {
return isPassed;
}
public void setIsPassed(boolean isPassed) {
this.isPassed = isPassed;
}
public long getLastReplyDateTime() {
return lastReplyDateTime;
}
public void setLastReplyDateTime(long lastReplyDateTime) {
this.lastReplyDateTime = lastReplyDateTime;
}
public String getLastReplyUserName() {
return lastReplyUserName;
}
public void setLastReplyUserName(String lastReplyUserName) {
this.lastReplyUserName = lastReplyUserName;
}
public int getLayer() {
return layer;
}
public void setLayer(int layer) {
this.layer = layer;
}
public int getReplyId() {
return replyId;
}
public void setReplyId(int replyId) {
this.replyId = replyId;
}
public int getReplys() {
return replys;
}
public void setReplys(int replys) {
this.replys = replys;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public int getTopicId() {
return topicId;
}
public void setTopicId(int topicId) {
this.topicId = topicId;
}
public int getTree() {
return tree;
}
public void setTree(int tree) {
this.tree = tree;
}
public byte getType() {
return type;
}
public int getUserId() {
return userId;
}
public void setUserId(int userId) {
this.userId = userId;
}
public String getUserIp() {
return userIp;
}
public void setUserIp(String userIp) {
this.userIp = userIp;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public int getViews() {
return views;
}
public void setViews(int views) {
this.views = views;
}
public byte getMood() {
return mood;
}
public void setMood(byte mood) {
this.mood = mood;
}
public byte getProject() {
return project;
}
public void setProject(byte project) {
this.project = project;
}
public void setDelete(boolean isDeleted) {
this.isDeleted = isDeleted;
}
public void setType(byte type) {
this.type = type;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -