温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:酒店管理系统(三层开发)源码
当前文件:
ThreeLayerHotel/Entity/RoomTypeEntity.cs,打开代码结构图
ThreeLayerHotel/Entity/RoomTypeEntity.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 RoomTypeEntity 10
{ 11
public RoomTypeEntity() { } 12
13
private int _typeID; 14
15
public int TypeID 16
{ 17
get { return _typeID; } 18
set { _typeID = value; } 19
} 20
/// <summary> 21
/// 客房类型名称 22
/// </summary> 23
private string _typeName; 24
25
public string TypeName 26
{ 27
get { return _typeName; } 28
set { _typeName = value; } 29
} 30
/// <summary> 31
/// 客房类型价格 32
/// </summary> 33
private double _typePrice; 34
35
public double TypePrice 36
{ 37
get { return _typePrice; } 38
set { _typePrice = value; } 39
} 40
/// <summary> 41
/// 是否可以加床 42
/// </summary> 43
private string _isAddBed; 44
45
public string IsAddBed 46
{ 47
get { return _isAddBed; } 48
set { _isAddBed = value; } 49
} 50
/// <summary> 51
/// 加床价格 52
/// </summary> 53
private double _addBedPrice; 54
55
public double AddBedPrice 56
{ 57
get { return _addBedPrice; } 58
set { _addBedPrice = value; } 59
} 60
/// <summary> 61
/// 备注 62
/// </summary> 63
private string _remark; 64
65
public string Remark 66
{ 67
get { return _remark; } 68
set { _remark = value; } 69
} 70
71
/// <summary> 72
/// 图片 73
/// </summary> 74
private string _imageURL; 75
76
public string ImageURL 77
{ 78
get { return _imageURL; } 79
set { _imageURL = value; } 80
} 81
82
} 83
} 84




[Serializable]

}
}