floorinfo.cs

来自「这个版本(InteliIM Open Kernel Release 2)是目前最」· CS 代码 · 共 60 行

CS
60
字号
#region Using Directives

using System.Collections.Generic; 

#endregion

namespace Org.InteliIM.Applications.Tourism.Lodgement
{
	/// <summary>
	/// Represents a floor of a building.
	/// </summary>
	public class FloorInfo
	{		
		/// <summary>
		/// Initializes a new instance of the Floor class.
		/// </summary>
		public FloorInfo()
		{
		}
		
		private int no;

		/// <summary>
		/// Gets or sets the no..
		/// </summary>
		public int No
		{
			get 
			{ 
				return this.no;
			}
			set 
			{ 
				this.no = value; 
			}
		}

        private string description;

        /// <summary>
        /// Gets or sets the description;
        /// </summary>
        /// <value></value>
        public string Description
        {
            get
            {
                if (this.description == null)
                    this.description = "";

                return this.description;
            }
            set
            {
                this.description = value;
            }
        }
    }
}

⌨️ 快捷键说明

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