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

📄 provincetransportendpoint.cs

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

using System;
using System.Collections.Generic;
using System.Text;

#endregion

namespace Org.InteliIM.Applications.Tourism.Transport
{
    /// <summary>
    /// Represents a province transport end point.
    /// </summary>
    public class ProvinceTransportEndPoint: TransportEndPoint
    {
        /// <summary>
        /// Initializes a new instance of the ProvinceTransportEndPoint class.
        /// </summary>
        public ProvinceTransportEndPoint()
        {

        }

        private string abbreviation;

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

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

        private bool isMunicipality = false;

        /// <summary>
        /// Gets or sets whether municipality or not.
        /// </summary>
        /// <value></value>
        public bool IsMunicipality
        {
            get
            {
                return this.isMunicipality;
            }
            set
            {
                this.isMunicipality = value;
            }
        }

        private CityTransportEndPoint provinceCity;

        /// <summary>
        /// Gets or sets the province city.
        /// </summary>
        /// <value></value>
        public CityTransportEndPoint ProvinceCity
        {
            get
            {
                if (this.provinceCity == null)
                    this.provinceCity = new CityTransportEndPoint();

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

⌨️ 快捷键说明

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