📄 medicine.cs
字号:
namespace Org.InteliIM.Applications.Tourism.Medical
{
/// <summary>
/// Represents a medicine.
/// </summary>
public class Medicine : IDiscountable
{
private string id;
/// <summary>
/// Gets or sets the id.
/// </summary>
public string Id
{
get
{
return this.id;
}
set
{
this.id = value;
}
}
private string name;
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name
{
get
{
return this.name;
}
set
{
this.name = value;
}
}
private string description;
/// <summary>
/// Gets or sets the description.
/// </summary>
public string Description
{
get
{
return this.description;
}
set
{
this.description = value;
}
}
private decimal price = 0;
/// <summary>
/// Gets or sets the price.
/// </summary>
/// <value></value>
public decimal Price
{
get
{
return this.price;
}
set
{
this.price = value;
}
}
private float discountRatio = 1.0f;
/// <summary>
/// Gets or sets the discount ratio.
/// </summary>
/// <value></value>
public float DiscountRatio
{
get
{
return this.discountRatio;
}
set
{
this.discountRatio = value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -