forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGuestboard.java
More file actions
71 lines (69 loc) · 1.89 KB
/
Guestboard.java
File metadata and controls
71 lines (69 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
package com.model;
/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2008</p>
* <p>Company: MR</p>
* @author wgh
* @version 2.0
*/
public class Guestboard {
private int gid; //留言ID
private String title; //留言标题
private String guest; //留言者
private String gtime; //留言时间
private String content; //留言内容
private int gflag; //标记是否已经回复,值1表示已经回复,0为未回复
private String rtime; //回复时间
private String recontent; //回复内容
public Guestboard() { //构造方法
}
public int getGid() { //获取留言ID
return gid;
}
public void setGid(int gid) { //设置留言ID
this.gid = gid;
}
public String getTitle() { //获取留言标题
return title;
}
public void setTitle(String title) { //设置留言标题
this.title = title;
}
public String getGuest() { //获取留言者
return guest;
}
public void setGuest(String guest) { //设置留言者
this.guest = guest;
}
public String getGtime() { //获取留言时间
return gtime;
}
public void setGtime(String gtime) { //设置留言时间
this.gtime = gtime;
}
public String getContent() { //获取留言内容
return content;
}
public void setContent(String content) { //设置留言内容
this.content = content;
}
public int getGflag() { //获取是否回复标记
return gflag;
}
public void setGflag(int gflag) { //设置是否回复标记
this.gflag = gflag;
}
public String getRtime() {//获取回复时间
return rtime;
}
public void setRtime(String rtime) {//设置回复时间
this.rtime = rtime;
}
public String getRecontent() { //获取回复内容
return recontent;
}
public void setRecontent(String recontent) { //设置回复内容
this.recontent = recontent;
}
}