温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:酒店管理系统(三层开发)源码
当前文件:
ThreeLayerHotel/Entity/UserRoomEntity.cs,打开代码结构图
ThreeLayerHotel/Entity/UserRoomEntity.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 UserRoomEntity 10
{ 11
public UserRoomEntity() { } 12
/// <summary> 13
/// 房间号 14
/// </summary> 15
private int _roomID; 16
17
public int RoomID 18
{ 19
get { return _roomID; } 20
set { _roomID = value; } 21
} 22
/// <summary> 23
/// 用户编号 24
/// </summary> 25
private int _userID; 26
27
public int UserID 28
{ 29
get { return _userID; } 30
set { _userID = value; } 31
} 32
/// <summary> 33
/// 房间状态 34
/// </summary> 35
private string _state; 36
37
public string State 38
{ 39
get { return _state; } 40
set { _state = value; } 41
} 42
43
44
45
} 46
} 47




[Serializable]

}