?? response.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 + -