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

📄 customerinfo.cs

📁 汽车销售公司ERP进销存系统 汽车销售公司ERP进销存系统
💻 CS
字号:
using System;

namespace CallCenter.Modules
{
	/// <summary>
	/// 客户信息
	/// </summary>
	public class CustomerInfo
	{
		public CustomerInfo()
		{
			// 
			// TODO: 在此处添加构造函数逻辑
			//
		}

		private int _id;
		private string _cname;
		private string _csex;
		private string _caddress;
		private string _ccontact;
		private string _cemail;
		private string _cfax;
		private int _ctype;
		private string _ctname;
		private string _ctelnumber;
		private string _ccomment;
		private int _position;

		public int id{
			get{return _id;}
			set{_id = value;}
		}

		public string cname{
			get{return _cname==null?"":_cname;}
			set{_cname = value;}
		}

		public string csex
		{
			get{return _csex==null?"":_csex;}
			set{_csex = value;}
		}

		public string caddress{
			get{return _caddress==null?"":_caddress;}
			set{_caddress = value;}
		}

		public string ccontact{
			get{return _ccontact==null?"":_ccontact;}
			set{_ccontact = value;}
		}

		public string cemail{
			get{return _cemail==null?"":_cemail;}
			set{_cemail = value;}
		}

		public string cfax{
			get{return _cfax==null?"":_cfax;}
			set{_cfax = value;}
		}

		public int ctype{
			get{return _ctype;}
			set{_ctype = value;}
		}

		public string ctname{
			get{return _ctname==null?"":_ctname;}
			set{_ctname = value;}
		}

		public string ctelnumber
		{
			get{return _ctelnumber==null?"":_ctelnumber;}
			set{_ctelnumber = value;}
		}

		public string ccomment
		{
			get{return _ccomment==null?"":_ccomment;}
			set{_ccomment = value;}
		}

		public int position
		{
			get
			{
				return _position;
			}
			set
			{
				if (_position == value)
					return;
				_position = value;
			}
		}

	
		public override string ToString()
		{
			// TODO:  添加 CustomerInfo.ToString 实现
			return "id = "+this.id+" ; cname = "+this.cname+" ; csex = "+this.csex+" ; caddress = "+this.caddress+" ; ccontact = "+this.ccontact
				+" ; cemail = "+this.cemail+" ; cfax = "+this.cfax+" ; ctype = "+this.ctype+" ; ctname ="+this.ctname+" ; ctelnumber = "+this.ctelnumber+
				" ; ccomment="+this.ccomment;
		}
	}
}

⌨️ 快捷键说明

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