⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 comment.java

📁 openblog是一个博客管理系统
💻 JAVA
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -