?? forumtopic.java
字號:
package com.elan.forum.model;
import java.sql.Timestamp;
/**
* Forumtopic entity.
*
* @author MyEclipse Persistence Tools
*/
public class ForumTopic implements java.io.Serializable {
// Fields
private Integer id;
private Integer moduleId;
//private Integer pieceId;
//private Integer authorId;
private String title;
private String author;
private String text;
private String topicType;
private String icon;
private Integer click;
private Integer reply;
private Timestamp createTime;
private Timestamp modifyTime;
private Byte locked;
private Byte fine;
private Byte complain;
private Byte pass;
private String moduleName;
private String pieceName;
private Byte hot;
private Byte top;
private Byte essence;
//////////帖子//////////////
//對象 關聯 子模塊
private Forumpiece piece;
//對象 關聯 用戶
private ForumUser forumUser;
public ForumUser getForumUser() {
return forumUser;
}
public void setForumUser(ForumUser forumUser) {
this.forumUser = forumUser;
}
public Forumpiece getPiece() {
return piece;
}
public void setPiece(Forumpiece piece) {
this.piece = piece;
}
////
// Constructors
/** default constructor */
public ForumTopic() {
}
/** minimal constructor */
public ForumTopic(String title, String author, String text) {
//this.authorId = authorId;
// this.forumUser = forumUser;
this.title = title;
this.author = author;
this.text = text;
}
/** full constructor */
public ForumTopic(Integer moduleId, Forumpiece piece, ForumUser forumUser,
String title, String author, String text, String topicType,
String icon, Integer click, Integer reply, Timestamp createTime,
Timestamp modifyTime, Byte locked, Byte fine, Byte complain, Byte pass,
String moduleName, String pieceName, Byte hot, Byte top, Byte essence) {
this.moduleId = moduleId;
this.forumUser = forumUser;
this.title = title;
this.author = author;
this.text = text;
this.topicType = topicType;
this.icon = icon;
this.click = click;
this.reply = reply;
this.createTime = createTime;
this.modifyTime = modifyTime;
this.locked = locked;
this.fine = fine;
this.complain = complain;
this.pass = pass;
this.moduleName = moduleName;
this.pieceName = pieceName;
this.piece = piece;
this.hot = hot;
this.top = top;
this.essence = essence;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getModuleId() {
return this.moduleId;
}
public void setModuleId(Integer moduleId) {
this.moduleId = moduleId;
}
/* public Integer getPieceId() {
return this.pieceId;
}
public void setPieceId(Integer pieceId) {
this.pieceId = pieceId;
}*/
/* public Integer getAuthorId() {
return this.authorId;
}
public void setAuthorId(Integer authorId) {
this.authorId = authorId;
}*/
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getAuthor() {
return this.author;
}
public void setAuthor(String author) {
this.author = author;
}
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
}
public String getTopicType() {
return this.topicType;
}
public void setTopicType(String topicType) {
this.topicType = topicType;
}
public String getIcon() {
return this.icon;
}
public void setIcon(String icon) {
this.icon = icon;
}
public Integer getClick() {
return this.click;
}
public void setClick(Integer click) {
this.click = click;
}
public Integer getReply() {
return this.reply;
}
public void setReply(Integer reply) {
this.reply = reply;
}
public Timestamp getCreateTime() {
return this.createTime;
}
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}
public Timestamp getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(Timestamp modifyTime) {
this.modifyTime = modifyTime;
}
public Byte getLocked() {
return this.locked;
}
public void setLocked(Byte locked) {
this.locked = locked;
}
public Byte getFine() {
return this.fine;
}
public void setFine(Byte fine) {
this.fine = fine;
}
public Byte getComplain() {
return this.complain;
}
public void setComplain(Byte complain) {
this.complain = complain;
}
public Byte getPass() {
return this.pass;
}
public void setPass(Byte pass) {
this.pass = pass;
}
public String getModuleName() {
return this.moduleName;
}
public void setModuleName(String moduleName) {
this.moduleName = moduleName;
}
public String getPieceName() {
return this.pieceName;
}
public void setPieceName(String pieceName) {
this.pieceName = pieceName;
}
public Byte getHot() {
return hot;
}
public void setHot(Byte hot) {
this.hot = hot;
}
public Byte getTop() {
return top;
}
public void setTop(Byte top) {
this.top = top;
}
public Byte getEssence() {
return essence;
}
public void setEssence(Byte essence) {
this.essence = essence;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -