📄 roomtype.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
/*********************************
* 类名:RoomType
* 功能描述:提供房间分类信息实体类
* ******************************/
namespace HotelManager.Models
{
[Serializable]
public class RoomType
{
#region Protected Members
protected int typeId;
protected string typeName = String.Empty;
protected decimal typePrice;
protected decimal addBedPrice;
protected string isAddBed;
protected string remark;
#endregion
#region Public Methods
public RoomType()
{
}
#endregion
#region Public Properties
public int TypeId
{
get { return typeId; }
set { typeId = value; }
}
public string TypeName
{
get { return typeName; }
set { typeName = value; }
}
public decimal TypePrice
{
get { return typePrice; }
set { typePrice = value; }
}
public decimal AddBedPrice
{
get { return addBedPrice; }
set { addBedPrice = value; }
}
public string IsAddBed
{
get { return isAddBed; }
set { isAddBed = value; }
}
public string Remark
{
get { return remark; }
set { remark = value; }
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -