abstractcommentt.java
来自「struts+hibernate模式的在线信息发布系统」· Java 代码 · 共 93 行
JAVA
93 行
package po.comment;
import java.util.Date;
/**
* AbstractCommentt generated by MyEclipse - Hibernate Tools
*/
public abstract class AbstractCommentt implements java.io.Serializable {
// Fields
private Integer commentId;
private Integer newsId;
private String content;
private String author;
private Date time;
// Constructors
/** default constructor */
public AbstractCommentt() {
}
/** minimal constructor */
public AbstractCommentt(Integer commentId) {
this.commentId = commentId;
}
/** full constructor */
public AbstractCommentt(Integer commentId, Integer newsId, String content, String author, Date time) {
this.commentId = commentId;
this.newsId = newsId;
this.content = content;
this.author = author;
this.time = time;
}
// Property accessors
public Integer getCommentId() {
return this.commentId;
}
public void setCommentId(Integer commentId) {
this.commentId = commentId;
}
public Integer getNewsId() {
return this.newsId;
}
public void setNewsId(Integer newsId) {
this.newsId = newsId;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public String getAuthor() {
return this.author;
}
public void setAuthor(String author) {
this.author = author;
}
public Date getTime() {
return this.time;
}
public void setTime(Date time) {
this.time = time;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?