温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:NBear+NBear开发BBS系统源码
当前文件:
NBBS/Entity/PostInfo.cs,打开代码结构图
NBBS/Entity/PostInfo.cs,打开代码结构图1using System; 2
3
namespace NBBS.Entity 4
{ 5
/// <summary> 6
/// 实体类——帖子 7
/// </summary> 8
[Serializable] 9
public class PostInfo 10
{ 11
/// <summary> 12
/// 私有成员变量 13
/// </summary> 14
private int _id; 15
private int _user; 16
private DateTime _date; 17
private string _title; 18
private string _content; 19
private int _board; 20
private int? _belong; 21
private int _click; 22
private int _revert; 23
private string _state; 24
private DateTime? _lastTime; 25
26
public int ID 27
{ 28
get { return this._id; } 29
set { this._id = value; } 30
} 31
32
public int User 33
{ 34
get { return this._user; } 35
set { this._user = value; } 36
} 37
38
public DateTime Date 39
{ 40
get { return this._date; } 41
set { this._date = value; } 42
} 43
44
public string Title 45
{ 46
get { return this._title; } 47
set { this._title = value; } 48
} 49
50
public string Content 51
{ 52
get { return this._content; } 53
set { this._content = value; } 54
} 55
56
public int Board 57
{ 58
get { return this._board; } 59
set { this._board = value; } 60
} 61
62
public int? Belong 63
{ 64
get { return this._belong; } 65
set { this._belong = value; } 66
} 67
68
public int Click 69
{ 70
get { return this._click; } 71
set { this._click = value; } 72
} 73
74
public int Revert 75
{ 76
get { return this._revert; } 77
set { this._revert = value; } 78
} 79
80
public string State 81
{ 82
get { return this._state; } 83
set { this._state = value; } 84
} 85
86
public DateTime? LastTime 87
{ 88
get { return this._lastTime; } 89
set { this._lastTime = value; } 90
} 91
} 92
} 93





}