📄 buildinginfo.cs
字号:
#region Using Directives
using System.Collections.Generic;
#endregion
namespace Org.InteliIM.Applications.Tourism.Lodgement
{
/// <summary>
/// Represents a building.
/// </summary>
public class BuildingInfo
{
/// <summary>
/// Initializes a new instance of the BuildingInfo class.
/// </summary>
public BuildingInfo()
{
}
private string id;
/// <summary>
/// Gets or sets the id.
/// </summary>
public string Id
{
get
{
if (this.id == null)
this.id = "";
return this.id;
}
set
{
this.id = value;
}
}
private string name;
/// <summary>
/// Gets or sets the name.
/// </summary>
public string Name
{
get
{
if (this.name == null)
this.name = "";
return this.name;
}
set
{
this.name = value;
}
}
private string description;
/// <summary>
/// Gets or sets the description.
/// </summary>
public string Description
{
get
{
if (this.description == null)
this.description = "";
return this.description;
}
set
{
this.description = value;
}
}
private string address;
/// <summary>
/// Gets or sets the address.
/// </summary>
/// <value></value>
public string Address
{
get
{
if (this.address == null)
this.address = "";
return this.address;
}
set
{
this.address = value;
}
}
private Collection<FloorInfo> floors;
/// <summary>
/// Gets or sets the floors.
/// </summary>
public Collection<FloorInfo> Floors
{
get
{
if (this.floors == null)
this.floors = new Collection<FloorInfo>();
return this.floors;
}
set
{
this.floors = value;
}
}
/// <summary>
/// Gets the floor count.
/// </summary>
public int FloorsCount
{
get
{
return this.Floors.Count;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -