| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | /// <summary> | 
					
						
							|  |  |  |  | ///Data Object  | 
					
						
							|  |  |  |  | ///BASIC CLASS FOR TABLE t_erp_customer | 
					
						
							|  |  |  |  | ///By wm   | 
					
						
							| 
									
										
										
										
											2023-09-04 22:41:19 +08:00
										 |  |  |  | ///on 08/04/2023 | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | /// </summary> | 
					
						
							|  |  |  |  |   | 
					
						
							|  |  |  |  | using System; | 
					
						
							|  |  |  |  | using System.Data; | 
					
						
							|  |  |  |  | using DeiNiu.Data.BaseObject; | 
					
						
							|  |  |  |  |   | 
					
						
							|  |  |  |  | namespace  DeiNiu.wms.Data.Model | 
					
						
							|  |  |  |  | { | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 	#region Erp_customer_base | 
					
						
							|  |  |  |  | 	/// <summary> | 
					
						
							|  |  |  |  | 	/// This object represents the properties and methods of a Erp_customer_base. | 
					
						
							|  |  |  |  |     /// </summary> | 
					
						
							|  |  |  |  |     [Serializable] | 
					
						
							|  |  |  |  | 	public class Erp_customer_base  : BaseModel {  | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |                         | 
					
						
							|  |  |  |  |                     internal string _entId = String.Empty,_OentId= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _custId = String.Empty,_OcustId= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _custName = String.Empty,_OcustName= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _custType,_OcustType;    | 
					
						
							|  |  |  |  |                     internal string _alias = String.Empty,_Oalias= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _address = String.Empty,_Oaddress= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _delivery = String.Empty,_Odelivery= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _phone1 = String.Empty,_Ophone1= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _phone2 = String.Empty,_Ophone2= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _manager = String.Empty,_Omanager= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _contact = String.Empty,_Ocontact= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _zipcode = String.Empty,_Ozipcode= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _fax = String.Empty,_Ofax= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _eMail = String.Empty,_OeMail= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _status,_Ostatus;    | 
					
						
							|  |  |  |  |                     internal string _province = String.Empty,_Oprovince= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _city = String.Empty,_Ocity= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _district = String.Empty,_Odistrict= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _invoiceNo = String.Empty,_OinvoiceNo= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _invoiceAddress = String.Empty,_OinvoiceAddress= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _invoiceHead = String.Empty,_OinvoiceHead= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _pinyin = String.Empty,_Opinyin= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _ext1 = String.Empty,_Oext1= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _ext2 = String.Empty,_Oext2= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _ext3 = String.Empty,_Oext3= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _ext4 = String.Empty,_Oext4= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _Ooperater;    | 
					
						
							|  |  |  |  |                         | 
					
						
							|  |  |  |  |                     internal string _createtime = String.Empty,_Ocreatetime= String.Empty;    | 
					
						
							|  |  |  |  |                         | 
					
						
							|  |  |  |  | 		 | 
					
						
							|  |  |  |  | 		public  Erp_customer_base () { | 
					
						
							|  |  |  |  | 		} | 
					
						
							|  |  |  |  | 		public  Erp_customer_base (int id) { | 
					
						
							|  |  |  |  | 			_id=id; | 
					
						
							|  |  |  |  | 			getModel(); | 
					
						
							|  |  |  |  | 		} | 
					
						
							|  |  |  |  | 		public  Erp_customer_base(DataRow dr) | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             getModel(dr); | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |           public Erp_customer_base(System.Data.SqlClient.SqlConnection _Conn) | 
					
						
							|  |  |  |  |             : base(_Conn)  | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |           protected override void getImp() | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             model_imp = new Erp_customer_base_Imp();   | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 		#region Public Properties  | 
					
						
							|  |  |  |  |         public string  entId{ | 
					
						
							|  |  |  |  | 			get {return _entId;} | 
					
						
							|  |  |  |  | 			 set {_entId = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  custId{ | 
					
						
							|  |  |  |  | 			get {return _custId;} | 
					
						
							|  |  |  |  | 			 set {_custId = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  custName{ | 
					
						
							|  |  |  |  | 			get {return _custName;} | 
					
						
							|  |  |  |  | 			 set {_custName = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   custType{ | 
					
						
							|  |  |  |  | 			get {return _custType;} | 
					
						
							|  |  |  |  | 			 set {_custType = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  alias{ | 
					
						
							|  |  |  |  | 			get {return _alias;} | 
					
						
							|  |  |  |  | 			 set {_alias = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  address{ | 
					
						
							|  |  |  |  | 			get {return _address;} | 
					
						
							|  |  |  |  | 			 set {_address = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  delivery{ | 
					
						
							|  |  |  |  | 			get {return _delivery;} | 
					
						
							|  |  |  |  | 			 set {_delivery = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  phone1{ | 
					
						
							|  |  |  |  | 			get {return _phone1;} | 
					
						
							|  |  |  |  | 			 set {_phone1 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  phone2{ | 
					
						
							|  |  |  |  | 			get {return _phone2;} | 
					
						
							|  |  |  |  | 			 set {_phone2 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  manager{ | 
					
						
							|  |  |  |  | 			get {return _manager;} | 
					
						
							|  |  |  |  | 			 set {_manager = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  contact{ | 
					
						
							|  |  |  |  | 			get {return _contact;} | 
					
						
							|  |  |  |  | 			 set {_contact = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  zipcode{ | 
					
						
							|  |  |  |  | 			get {return _zipcode;} | 
					
						
							|  |  |  |  | 			 set {_zipcode = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  fax{ | 
					
						
							|  |  |  |  | 			get {return _fax;} | 
					
						
							|  |  |  |  | 			 set {_fax = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  eMail{ | 
					
						
							|  |  |  |  | 			get {return _eMail;} | 
					
						
							|  |  |  |  | 			 set {_eMail = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   status{ | 
					
						
							|  |  |  |  | 			get {return _status;} | 
					
						
							|  |  |  |  | 			 set {_status = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  province{ | 
					
						
							|  |  |  |  | 			get {return _province;} | 
					
						
							|  |  |  |  | 			 set {_province = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  city{ | 
					
						
							|  |  |  |  | 			get {return _city;} | 
					
						
							|  |  |  |  | 			 set {_city = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  district{ | 
					
						
							|  |  |  |  | 			get {return _district;} | 
					
						
							|  |  |  |  | 			 set {_district = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  invoiceNo{ | 
					
						
							|  |  |  |  | 			get {return _invoiceNo;} | 
					
						
							|  |  |  |  | 			 set {_invoiceNo = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  invoiceAddress{ | 
					
						
							|  |  |  |  | 			get {return _invoiceAddress;} | 
					
						
							|  |  |  |  | 			 set {_invoiceAddress = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  invoiceHead{ | 
					
						
							|  |  |  |  | 			get {return _invoiceHead;} | 
					
						
							|  |  |  |  | 			 set {_invoiceHead = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  pinyin{ | 
					
						
							|  |  |  |  | 			get {return _pinyin;} | 
					
						
							|  |  |  |  | 			 set {_pinyin = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  ext1{ | 
					
						
							|  |  |  |  | 			get {return _ext1;} | 
					
						
							|  |  |  |  | 			 set {_ext1 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  ext2{ | 
					
						
							|  |  |  |  | 			get {return _ext2;} | 
					
						
							|  |  |  |  | 			 set {_ext2 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  ext3{ | 
					
						
							|  |  |  |  | 			get {return _ext3;} | 
					
						
							|  |  |  |  | 			 set {_ext3 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  ext4{ | 
					
						
							|  |  |  |  | 			get {return _ext4;} | 
					
						
							|  |  |  |  | 			 set {_ext4 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   operater{ | 
					
						
							|  |  |  |  | 			get {return _operater;} | 
					
						
							|  |  |  |  | 			 set {_operater = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  bool   dr{ | 
					
						
							|  |  |  |  | 			get {return _dr;} | 
					
						
							|  |  |  |  | 			    | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  createtime{ | 
					
						
							|  |  |  |  | 			get {return _createtime;} | 
					
						
							|  |  |  |  | 			 set {_createtime = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  lastmodified{ | 
					
						
							|  |  |  |  | 			get {return _lastmodified;} | 
					
						
							|  |  |  |  | 			    | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  | 		  | 
					
						
							|  |  |  |  | 		#endregion | 
					
						
							|  |  |  |  |                   | 
					
						
							|  |  |  |  |       #region fieldNames  | 
					
						
							|  |  |  |  |       public enum fields{entId,custId,custName,custType,alias,address,delivery,phone1,phone2,manager,contact,zipcode,fax,eMail,status,province,city,district,invoiceNo,invoiceAddress,invoiceHead,pinyin,ext1,ext2,ext3,ext4,operater} | 
					
						
							|  |  |  |  |       #endregion | 
					
						
							|  |  |  |  |      | 
					
						
							|  |  |  |  | 	 | 
					
						
							|  |  |  |  | 	} | 
					
						
							|  |  |  |  | 	#endregion | 
					
						
							|  |  |  |  | } |