comment.java

来自「openblog是一个博客管理系统」· Java 代码 · 共 125 行

JAVA
125
字号
package org.openblog.hibernate;

/**
 * Comment entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Comment implements java.io.Serializable {

	// Fields

	private Integer commentId;
	private Article article;
	private String commentName;
	private String commentUrl;
	private String commentQq;
	private String commentEmail;
	private String commentContent;
	private Integer commentStatus;
	private String commentDate;

	// Constructors

	/** default constructor */
	public Comment() {
	}

	/** minimal constructor */
	public Comment(Integer commentId, String commentName, Integer commentStatus) {
		this.commentId = commentId;
		this.commentName = commentName;
		this.commentStatus = commentStatus;
	}

	/** full constructor */
	public Comment(Integer commentId, Article article, String commentName,
			String commentUrl, String commentQq, String commentEmail,
			String commentContent, Integer commentStatus, String commentDate) {
		this.commentId = commentId;
		this.article = article;
		this.commentName = commentName;
		this.commentUrl = commentUrl;
		this.commentQq = commentQq;
		this.commentEmail = commentEmail;
		this.commentContent = commentContent;
		this.commentStatus = commentStatus;
		this.commentDate = commentDate;
	}

	// Property accessors

	public Integer getCommentId() {
		return this.commentId;
	}

	public void setCommentId(Integer commentId) {
		this.commentId = commentId;
	}

	public Article getArticle() {
		return this.article;
	}

	public void setArticle(Article article) {
		this.article = article;
	}

	public String getCommentName() {
		return this.commentName;
	}

	public void setCommentName(String commentName) {
		this.commentName = commentName;
	}

	public String getCommentUrl() {
		return this.commentUrl;
	}

	public void setCommentUrl(String commentUrl) {
		this.commentUrl = commentUrl;
	}

	public String getCommentQq() {
		return this.commentQq;
	}

	public void setCommentQq(String commentQq) {
		this.commentQq = commentQq;
	}

	public String getCommentEmail() {
		return this.commentEmail;
	}

	public void setCommentEmail(String commentEmail) {
		this.commentEmail = commentEmail;
	}

	public String getCommentContent() {
		return this.commentContent;
	}

	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}

	public Integer getCommentStatus() {
		return this.commentStatus;
	}

	public void setCommentStatus(Integer commentStatus) {
		this.commentStatus = commentStatus;
	}

	public String getCommentDate() {
		return this.commentDate;
	}

	public void setCommentDate(String commentDate) {
		this.commentDate = commentDate;
	}

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?