温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:NBear+NBear开发BBS系统源码
当前文件:
NBBS/Entity/BoardInfo.cs,打开代码结构图
NBBS/Entity/BoardInfo.cs,打开代码结构图1using System; 2
3
namespace NBBS.Entity 4
{ 5
/// <summary> 6
/// 实体类——子版面 7
/// </summary> 8
[Serializable] 9
public class BoardInfo 10
{ 11
/// <summary> 12
/// 私有成员变量 13
/// </summary> 14
private int _id; 15
private string _name; 16
private int _place; 17
private int _motherBoard; 18
private string _description; 19
private string _descriptionColor; 20
private UserInfo[] _masters; 21
22
/// <summary> 23
/// 属性 24
/// </summary> 25
public int ID 26
{ 27
get { return this._id; } 28
set { this._id = value; } 29
} 30
31
public string Name 32
{ 33
get { return this._name; } 34
set { this._name = value; } 35
} 36
37
public int Place 38
{ 39
get { return this._place; } 40
set { this._place = value; } 41
} 42
43
public int MotherBoard 44
{ 45
get { return this._motherBoard; } 46
set { this._motherBoard = value; } 47
} 48
49
public string Description 50
{ 51
get { return this._description; } 52
set { this._description = value; } 53
} 54
55
public string DescriptionColor 56
{ 57
get { return this._descriptionColor; } 58
set { this._descriptionColor = value; } 59
} 60
61
public UserInfo[] Masters 62
{ 63
get { return this._masters; } 64
set { this._masters = value; } 65
} 66
} 67
} 68
69





}