温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:NBear+NBear开发BBS系统源码
当前文件:
NBBS/Entity/UserInfo.cs,打开代码结构图
NBBS/Entity/UserInfo.cs,打开代码结构图1using System; 2
3
namespace NBBS.Entity 4
{ 5
/// <summary> 6
/// 实体类——用户 7
/// </summary> 8
[Serializable] 9
public class UserInfo 10
{ 11
/// <summary> 12
/// 私有成员变量 13
/// </summary> 14
private int _id; 15
private string _name; 16
private string _password; 17
private string _email; 18
private int _point; 19
private DateTime _date; 20
private string _status; 21
private string _state; 22
private string _realName; 23
private string _from; 24
private string _tel; 25
private string _qq; 26
private int? _age; 27
private string _sex; 28
private string _sign; 29
30
/// <summary> 31
/// 属性 32
/// </summary> 33
public int ID 34
{ 35
get { return this._id; } 36
set { this._id = value; } 37
} 38
public string Name 39
{ 40
get { return this._name; } 41
set { this._name = value; } 42
} 43
public string Password 44
{ 45
get { return this._password; } 46
set { this._password = value; } 47
} 48
public string Email 49
{ 50
get { return this._email; } 51
set { this._email = value; } 52
} 53
public int Point 54
{ 55
get { return this._point; } 56
set { this._point = value; } 57
} 58
public DateTime Date 59
{ 60
get { return this._date; } 61
set { this._date = value; } 62
} 63
public string Status 64
{ 65
get { return this._status; } 66
set { this._status = value; } 67
} 68
public string State 69
{ 70
get { return this._state; } 71
set { this._state = value; } 72
} 73
public string RealName 74
{ 75
get { return this._realName; } 76
set { this._realName = value; } 77
} 78
public string From 79
{ 80
get { return this._from; } 81
set { this._from = value; } 82
} 83
public string Tel 84
{ 85
get { return this._tel; } 86
set { this._tel = value; } 87
} 88
public string QQ 89
{ 90
get { return this._qq; } 91
set { this._qq = value; } 92
} 93
public int? Age 94
{ 95
get { return this._age; } 96
set { this._age = value; } 97
} 98
public string Sex 99
{ 100
get { return this._sex; } 101
set { this._sex = value; } 102
} 103
public string Sign 104
{ 105
get { return this._sign; } 106
set { this._sign = value; } 107
} 108
109
public UserInfo() { } 110
} 111
} 112





}