温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:NBear+NBear开发BBS系统源码
当前文件:
NBBS/Entity/LoginInfo.cs,打开代码结构图
NBBS/Entity/LoginInfo.cs,打开代码结构图1using System; 2
3
namespace NBBS.Entity 4
{ 5
/// <summary> 6
/// 实体类——登录 7
/// </summary> 8
[Serializable] 9
public class LoginInfo 10
{ 11
/// <summary> 12
/// 私有成员变量 13
/// </summary> 14
private int _id; 15
private string _name; 16
private string _password; 17
18
/// <summary> 19
/// 属性 20
/// </summary> 21
public int ID 22
{ 23
get { return this._id; } 24
set { this._id = value; } 25
} 26
27
public string Name 28
{ 29
get { return this._name; } 30
set { this._name = value; } 31
} 32
33
public string Password 34
{ 35
get { return this._password; } 36
set { this._password = value; } 37
} 38
} 39
} 40





}