building.cs

来自「该源代码用 C# 写成」· CS 代码 · 共 85 行

CS
85
字号
namespace Org.InteliIM.Activities.Lodgment
{
	/// <summary>
	/// 建筑物
	/// </summary>
	public class Building
	{
		private string id;
		
		/// <summary>
		/// 编号
		/// </summary>
		public string Id
		{
			get
			{
				return this.id;
			}
			set
			{
				this.id = value;
			}
		}
		
		private string name;
		
		/// <summary>
		/// 名称
		/// </summary>
		public string Name
		{
			get
			{
				return this.name;
			}
			set
			{
				this.name = value;
			}
		}
		
		private string description;
		
		/// <summary>
		/// 描述
		/// </summary>
		public string Description
		{
			get
			{
				return this.description;
			}
			set
			{
				this.description = value;
			}
		}
		
		private FloorCollection floors;
		
		/// <summary>
		/// 楼层集合
		/// </summary>
		public FloorCollection Floors
		{
			get
			{
				return this.floors;
			}
			set
			{
				this.floors = value;
			}
		}
		
		public int FloorCounts
		{
			get
			{
				return this.Floors.Count;
			}
		}
	}	
}

⌨️ 快捷键说明

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