温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:酒店管理系统(三层开发)源码
当前文件:
ThreeLayerHotel/Entity/HotelUserEntity.cs,打开代码结构图
ThreeLayerHotel/Entity/HotelUserEntity.cs,打开代码结构图1using System; 2
using System.Collections.Generic; 3
using System.Linq; 4
using System.Text; 5
6
namespace Entity 7
{ 8
[Serializable] 9
public class HotelUserEntity 10
{ 11
public HotelUserEntity() { } 12
private int _userID; 13
14
public int UserID 15
{ 16
get { return _userID; } 17
set { _userID = value; } 18
} 19
/// <summary> 20
/// 用户名 21
/// </summary> 22
private string _userName; 23
24
public string UserName 25
{ 26
get { return _userName; } 27
set { _userName = value; } 28
} 29
/// <summary> 30
/// 密码 31
/// </summary> 32
private string _password; 33
34
public string Password 35
{ 36
get { return _password; } 37
set { _password = value; } 38
} 39
40
/// <summary> 41
/// 真实姓名 42
/// </summary> 43
private string _Name; 44
45
public string Name 46
{ 47
get { return _Name; } 48
set { _Name = value; } 49
} 50
/// <summary> 51
/// 电话 52
/// </summary> 53
private string _Phone; 54
55
public string Phone 56
{ 57
get { return _Phone; } 58
set { _Phone = value; } 59
} 60
/// <summary> 61
/// Email 62
/// </summary> 63
private string _Email; 64
65
public string Email 66
{ 67
get { return _Email; } 68
set { _Email = value; } 69
} 70
/// <summary> 71
/// 地址 72
/// </summary> 73
private string _Address; 74
75
public string Address 76
{ 77
get { return _Address; } 78
set { _Address = value; } 79
} 80
81
/// <summary> 82
/// 用户身份 83
/// </summary> 84
private int _status; 85
86
public int Status 87
{ 88
get { return _status; } 89
set { _status = value; } 90
} 91
92
} 93
} 94




[Serializable]

}
}