📄 clothesitemtype.cs
字号:
#region Using Directives
using System;
using System.Collections.Generic;
using System.Text;
#endregion
namespace Org.InteliIM.Applications.Tourism.Laundries
{
/// <summary>
/// Represents a clothes item type.
/// </summary>
public class ClothesItemType: IDiscountable
{
/// <summary>
/// Initializes a new instance of the ClothesItemType class.
/// </summary>
public ClothesItemType()
{
}
private string name;
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value></value>
public string Name
{
get
{
if (this.name == null)
this.name = "";
return this.name;
}
set
{
this.name = value;
}
}
private float price = 0.0f;
/// <summary>
/// Gets or sets the price.
/// </summary>
/// <value></value>
public float 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 + -