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

📄 comment.java

📁 struts hibernate spring实现新闻发布系统含说明文档
💻 JAVA
字号:
package com.ata.wx.java01b.dao;

import java.util.Date;

/**
 * Comment generated by MyEclipse Persistence Tools
 */

public class Comment implements java.io.Serializable {

	// Fields

	private String commentid;
	private User user;
	private News news;
	private String content;
	private Date time;

	// Constructors

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

	/** full constructor */
	public Comment(User user, News news, String content, Date time) {
		this.user = user;
		this.news = news;
		this.content = content;
		this.time = time;
	}

	// Property accessors

	public String getCommentid() {
		return this.commentid;
	}

	public void setCommentid(String commentid) {
		this.commentid = commentid;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public News getNews() {
		return this.news;
	}

	public void setNews(News news) {
		this.news = news;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getTime() {
		return this.time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

}

⌨️ 快捷键说明

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