📄 dinnerorderentry.cs
字号:
namespace Org.InteliIM.Activities.Dinner
{
/// <summary>
/// 餐饮订单项
/// </summary>
public class DinnerOrderEntry
{
/// <summary>
/// 构造函数
/// </summary>
public DinnerOrderEntry()
{
}
private string name;
/// <summary>
/// 名称
/// </summary>
public string Name
{
get
{
return this.name;
}
set
{
this.name = value;
}
}
private string hotelId;
/// <summary>
/// 宾馆编号
/// </summary>
public string HotelId
{
get
{
return this.hotelId;
}
set
{
this.hotelId = value;
}
}
private string restaurantId;
/// <summary>
/// 饭店编号
/// </summary>
public string RestaurantId
{
get
{
if(this.restaurantId == null)
this.restaurantId = "";
return this.restaurantId;
}
set
{
this.restaurantId = value;
}
}
private string diningRoomId;
/// <summary>
/// 餐厅编号
/// </summary>
public string DiningRoomId
{
get
{
if(this.diningRoomId == null)
this.diningRoomId = "";
return this.diningRoomId;
}
set
{
this.diningRoomId = value;
}
}
private decimal price = 0;
/// <summary>
/// 单价
/// </summary>
public decimal Price
{
get
{
return this.price;
}
set
{
this.price = value;
}
}
private int amount = 0;
/// <summary>
/// 数量
/// </summary>
public int Amount
{
get
{
return this.amount;
}
set
{
this.amount = value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -