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

📄 response.java

📁 bbs论坛 采用java的Web开发strtus、hibernate
💻 JAVA
字号:
package com.wish.bbs.pojo;

import java.util.Date;

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

public class Response implements java.io.Serializable {

	// Fields

	private String rid;
	private Topic topic;
	private String writer;
	private String content;
	private Date createdate;
	private Date lastmodified;
	private User user;

	// Constructors

	public User getUser() {
		return user;
	}

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

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

	/** minimal constructor */
	public Response(Topic topic, String writer) {
		this.topic = topic;
		this.writer = writer;
	}

	/** full constructor */
	public Response(Topic topic, String writer, String content,
			Date createdate, Date lastmodified) {
		this.topic = topic;
		this.writer = writer;
		this.content = content;
		this.createdate = createdate;
		this.lastmodified = lastmodified;
	}

	// Property accessors

	public String getRid() {
		return this.rid;
	}

	public void setRid(String rid) {
		this.rid = rid;
	}

	public Topic getTopic() {
		return this.topic;
	}

	public void setTopic(Topic topic) {
		this.topic = topic;
	}

	public String getWriter() {
		return this.writer;
	}

	public void setWriter(String writer) {
		this.writer = writer;
	}

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

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

	public Date getCreatedate() {
		return this.createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public Date getLastmodified() {
		return this.lastmodified;
	}

	public void setLastmodified(Date lastmodified) {
		this.lastmodified = lastmodified;
	}

}

⌨️ 快捷键说明

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