📄 abstractcomment.java
字号:
package com.olr.beans;
import java.util.Date;
/**
* AbstractComment entity provides the base persistence definition of the
* Comment entity.
*
* @author MyEclipse Persistence Tools
*/
public abstract class AbstractComment implements java.io.Serializable {
// Fields
private Integer commentId;
private Integer chapterId;
private String username;
private String content;
private Date postdate;
// Constructors
/** default constructor */
public AbstractComment() {
}
/** minimal constructor */
public AbstractComment(Integer chapterId, String username, String content) {
this.chapterId = chapterId;
this.username = username;
this.content = content;
}
/** full constructor */
public AbstractComment(Integer chapterId, String username, String content,
Date postdate) {
this.chapterId = chapterId;
this.username = username;
this.content = content;
this.postdate = postdate;
}
// Property accessors
public Integer getCommentId() {
return this.commentId;
}
public void setCommentId(Integer commentId) {
this.commentId = commentId;
}
public Integer getChapterId() {
return this.chapterId;
}
public void setChapterId(Integer chapterId) {
this.chapterId = chapterId;
}
public String getUsername() {
return this.username;
}
public void setUsername(String username) {
this.username = username;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public Date getPostdate() {
return this.postdate;
}
public void setPostdate(Date postdate) {
this.postdate = postdate;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -