profileinfo.cs

来自「人物传记/成功经验人物传记/成功经验人物传记/成功经验人物传记/成功经验人物传记」· CS 代码 · 共 152 行

CS
152
字号
using System;
using System.Web.Profile;


namespace SkyiSite.DBUtility
{
   public class ProfileInfo
    {
        //Mobile|Tele| RealityName| Corporation |IsAudited|IsStoped|Address|PostCode
        private string _Mobile;
        private string _Tele;
        private string _RealityName;
        private string _Corporation;
        private bool _IsAudited;
        private bool _IsStoped;
        private string _Address;
        private string _PostCode;

        public string Address
        {
            get
            {
                return this._Address;
            }
            set
            {
                if ((this._Address != value))
                {
                    this._Address = value;
                }
            }
        }

        public string PostCode
        {
            get
            {
                return this._PostCode;
            }
            set
            {
                if ((this._PostCode != value))
                {
                    this._PostCode = value;
                }
            }
        }

        public string RealityName
        {
            get
            {
                return this._RealityName;
            }
            set
            {
                if ((this._RealityName != value))
                {
                    this._RealityName = value;
                }
            }
        }

        public bool IsStoped
        {
            get
            {
                return this._IsStoped;
            }
            set
            {
                if ((this._IsStoped != value))
                {
                    this._IsStoped = value;
                }
            }
        }

        public string Corporation
        {
            get
            {
                return this._Corporation;
            }
            set
            {
                if ((this._Corporation != value))
                {
                    this._Corporation = value;
                }
            }
        }

        public bool IsAudited
        {
            get
            {
                return this._IsAudited;
            }
            set
            {
                if ((this._IsAudited != value))
                {
                    this._IsAudited = value;
                }
            }
        }

        public string Tele
        {
            get
            {
                return this._Tele;
            }
            set
            {
                if ((this._Tele != value))
                {
                    this._Tele = value;
                }
            }
        }

        public string Mobile
        {
            get
            {
                return this._Mobile;
            }
            set
            {
                if ((this._Mobile != value))
                {
                    this._Mobile = value;
                }
            }
        }
        public ProfileInfo(string pMobile, string pTele, string pRealityName, string pCorporation, bool pIsAudited, bool pIsStoped, string pAddress, string pPostCode)
        { 
            Mobile=pMobile;
            Tele=pTele;
            RealityName=pRealityName;
            Corporation =pCorporation;
            IsAudited=pIsAudited;
            IsStoped=pIsStoped;
            Address=pAddress;
            PostCode = pPostCode;
        }
        public ProfileInfo() { }
    }
}

⌨️ 快捷键说明

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