📄 abstractcommentt.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -