?? topic.java
字號(hào):
package com.wish.bbs.pojo;
import java.util.Date;
import java.util.Set;
/**
* Topic generated by MyEclipse - Hibernate Tools
*/
public class Topic implements java.io.Serializable {
// Fields
private String tid;
private String title;
private String content;
private Date createdate;
private String sid;
private String iflocked;
private String uid;
private Date lastmodiedtime;
private Subject subject;
private User user;
private Set responses=null;
private String writer;
private int count;
private String cdate;
private String tgrade;
// Constructors
public String getTgrade() {
return tgrade;
}
public void setTgrade(String tgrade) {
this.tgrade = tgrade;
}
public String getCdate() {
return cdate;
}
public void setCdate(String cdate) {
this.cdate = cdate;
}
public Topic(String tid, String title, String content, Date createdate,
String iflocked, Date lastmodiedtime, String writer, int count,User user,Subject subject,String tgrade) {
super();
this.tid = tid;
this.title = title;
this.content = content;
this.createdate = createdate;
this.iflocked = iflocked;
this.lastmodiedtime = lastmodiedtime;
this.writer = writer;
this.count = count;
this.user=user;
this.subject=subject;
this.tgrade=tgrade;
}
public Topic(String tid, String title, String content, Date createdate,
String iflocked, Date lastmodiedtime, String writer, int count,String tgrade) {
super();
this.tid = tid;
this.title = title;
this.content = content;
this.createdate = createdate;
this.iflocked = iflocked;
this.lastmodiedtime = lastmodiedtime;
this.writer = writer;
this.count = count;
this.tgrade=tgrade;
}
public Topic(String tid, String title, String content, Date createdate,
String sid, String iflocked, String uid, Date lastmodiedtime,
Subject subject, User user,String tgrade) {
super();
this.tid = tid;
this.title = title;
this.content = content;
this.createdate = createdate;
this.sid = sid;
this.iflocked = iflocked;
this.uid = uid;
this.lastmodiedtime = lastmodiedtime;
this.subject = subject;
this.user = user;
this.tgrade=tgrade;
}
public Topic(String tid) {
super();
this.tid = tid;
}
public Set getResponses() {
return responses;
}
public void setResponses(Set responses) {
this.responses = responses;
}
public Subject getSubject() {
return subject;
}
public void setSubject(Subject subject) {
this.subject = subject;
}
public User getUser() {
return user;
}
public void setUser(User user) {
this.user = user;
}
/** default constructor */
public Topic() {
}
/** minimal constructor */
public Topic(String title, String content) {
this.title = title;
this.content = content;
}
/** full constructor */
public Topic(String title, String content, Date createdate, String sid, String iflocked, String uid, Date lastmodiedtime,String writer,String tid,String tgrade) {
this.title = title;
this.content = content;
this.createdate = createdate;
this.sid = sid;
this.iflocked = iflocked;
this.uid = uid;
this.lastmodiedtime = lastmodiedtime;
this.writer=writer;
this.tid=tid;
this.tgrade=tgrade;
}
public Topic(String title, String content, Date createdate, String iflocked, Date lastmodiedtime,String writer,String tid,String tgrade) {
this.title = title;
this.content = content;
this.createdate = createdate;
this.iflocked = iflocked;
this.lastmodiedtime = lastmodiedtime;
this.writer=writer;
this.tid=tid;
this.tgrade=tgrade;
}
// Property accessors
public String getTid() {
return this.tid;
}
public void setTid(String tid) {
this.tid = tid;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
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 String getSid() {
return this.sid;
}
public void setSid(String sid) {
this.sid = sid;
}
public String getIflocked() {
return this.iflocked;
}
public void setIflocked(String iflocked) {
this.iflocked = iflocked;
}
public String getUid() {
return this.uid;
}
public void setUid(String uid) {
this.uid = uid;
}
public Date getLastmodiedtime() {
return this.lastmodiedtime;
}
public void setLastmodiedtime(Date lastmodiedtime) {
this.lastmodiedtime = lastmodiedtime;
}
public String getWriter() {
return writer;
}
public void setWriter(String writer) {
this.writer = writer;
}
public int getCount() {
return count;
}
public void setCount(int count) {
this.count = count;
}
public Topic(String tid, String title, String content, Date createdate,
String sid, String iflocked, String uid, Date lastmodiedtime,
Subject subject, User user, String writer, int count,String tgrade) {
super();
this.tid = tid;
this.title = title;
this.content = content;
this.createdate = createdate;
this.sid = sid;
this.iflocked = iflocked;
this.uid = uid;
this.lastmodiedtime = lastmodiedtime;
this.subject = subject;
this.user = user;
this.writer = writer;
this.count = count;
this.tgrade=tgrade;
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -