citytransportendpoint.cs

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

CS
67
字号
#region Using Directives

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

#endregion

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

        }

        private string zipCode;

        /// <summary>
        /// Gets or sets the zip code.
        /// </summary>
        /// <value></value>
        public string ZipCode
        {
            get
            {
                if (this.zipCode == null)
                    this.zipCode = "";

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

        private string areaCode;

        /// <summary>
        /// Gets or sets the area code.
        /// </summary>
        /// <value></value>
        public string AreaCode
        {
            get
            {
                if (this.areaCode == null)
                    this.areaCode = "";

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

⌨️ 快捷键说明

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