⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 waiterinfo.cs

📁 这个版本(InteliIM Open Kernel Release 2)是目前最新的(首次公开)
💻 CS
字号:
#region Using Directives

using Org.InteliIM.Users; 

#endregion

namespace Org.InteliIM.Applications.Tourism
{
	/// <summary>
	/// Represents a waiter's information.
	/// </summary>
	public class WaiterInfo: PersonInfo
	{
        /// <summary>
        /// Initializes a new instance of the WaiterInfo class.
        /// </summary>
        public WaiterInfo()
        {
        }
		
		private string phone;
		
		/// <summary>
		/// Gets or sets the phone number.
		/// </summary>
		public string Phone
		{
			get
			{
				if(this.phone == null)
					this.phone = "";
				
				return this.phone;
			}
			set
			{
				this.phone = value;
			}
		}
		
		private string roomTypeId;
		
		/// <summary>
		/// Gets or sets the room type id.
		/// </summary>
		public string RoomTypeId
		{
			get
			{
				if(this.roomTypeId == null)
					this.roomTypeId = "0";
				
				return this.roomTypeId;
			}
			set
			{
				this.roomTypeId = value;
			}
		}
		
		private WaiterType type = WaiterType.A;
		
		/// <summary>
		/// Gets or sets the type of the waiter.
		/// </summary>
		public WaiterType Type
		{
			get
			{
				return this.type;
			}
			set
			{
				this.type = value;
			}
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -