| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | /// <summary> | 
					
						
							|  |  |  |  | ///Data Object  | 
					
						
							|  |  |  |  | ///BASIC CLASS FOR TABLE t_erp_bussinessDoc | 
					
						
							|  |  |  |  | ///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_bussinessDoc_base | 
					
						
							|  |  |  |  | 	/// <summary> | 
					
						
							|  |  |  |  | 	/// This object represents the properties and methods of a Erp_bussinessDoc_base. | 
					
						
							|  |  |  |  |     /// </summary> | 
					
						
							|  |  |  |  |     [Serializable] | 
					
						
							|  |  |  |  | 	public class Erp_bussinessDoc_base  : BaseModel {  | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |                         | 
					
						
							|  |  |  |  |                     internal string _entId = String.Empty,_OentId= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _businessId = String.Empty,_ObusinessId= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _businessCode = String.Empty,_ObusinessCode= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _businessName = String.Empty,_ObusinessName= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _type,_Otype;    | 
					
						
							|  |  |  |  |                     internal string _address = String.Empty,_Oaddress= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _zipCode = String.Empty,_OzipCode= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _phone = String.Empty,_Ophone= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _fax = String.Empty,_Ofax= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _eMail = String.Empty,_OeMail= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _dftAddress = String.Empty,_OdftAddress= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _manger = String.Empty,_Omanger= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _contact = String.Empty,_Ocontact= 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 int _status,_Ostatus;    | 
					
						
							|  |  |  |  |                     internal string _mem = String.Empty,_Omem= 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_bussinessDoc_base () { | 
					
						
							|  |  |  |  | 		} | 
					
						
							|  |  |  |  | 		public  Erp_bussinessDoc_base (int id) { | 
					
						
							|  |  |  |  | 			_id=id; | 
					
						
							|  |  |  |  | 			getModel(); | 
					
						
							|  |  |  |  | 		} | 
					
						
							|  |  |  |  | 		public  Erp_bussinessDoc_base(DataRow dr) | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             getModel(dr); | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |           public Erp_bussinessDoc_base(System.Data.SqlClient.SqlConnection _Conn) | 
					
						
							|  |  |  |  |             : base(_Conn)  | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |           protected override void getImp() | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             model_imp = new Erp_bussinessDoc_base_Imp();   | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 		#region Public Properties  | 
					
						
							|  |  |  |  |         public string  entId{ | 
					
						
							|  |  |  |  | 			get {return _entId;} | 
					
						
							|  |  |  |  | 			 set {_entId = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  businessId{ | 
					
						
							|  |  |  |  | 			get {return _businessId;} | 
					
						
							|  |  |  |  | 			 set {_businessId = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  businessCode{ | 
					
						
							|  |  |  |  | 			get {return _businessCode;} | 
					
						
							|  |  |  |  | 			 set {_businessCode = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  businessName{ | 
					
						
							|  |  |  |  | 			get {return _businessName;} | 
					
						
							|  |  |  |  | 			 set {_businessName = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   type{ | 
					
						
							|  |  |  |  | 			get {return _type;} | 
					
						
							|  |  |  |  | 			 set {_type = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  address{ | 
					
						
							|  |  |  |  | 			get {return _address;} | 
					
						
							|  |  |  |  | 			 set {_address = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  zipCode{ | 
					
						
							|  |  |  |  | 			get {return _zipCode;} | 
					
						
							|  |  |  |  | 			 set {_zipCode = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  phone{ | 
					
						
							|  |  |  |  | 			get {return _phone;} | 
					
						
							|  |  |  |  | 			 set {_phone = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  fax{ | 
					
						
							|  |  |  |  | 			get {return _fax;} | 
					
						
							|  |  |  |  | 			 set {_fax = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  eMail{ | 
					
						
							|  |  |  |  | 			get {return _eMail;} | 
					
						
							|  |  |  |  | 			 set {_eMail = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  dftAddress{ | 
					
						
							|  |  |  |  | 			get {return _dftAddress;} | 
					
						
							|  |  |  |  | 			 set {_dftAddress = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  manger{ | 
					
						
							|  |  |  |  | 			get {return _manger;} | 
					
						
							|  |  |  |  | 			 set {_manger = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  contact{ | 
					
						
							|  |  |  |  | 			get {return _contact;} | 
					
						
							|  |  |  |  | 			 set {_contact = 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  int   status{ | 
					
						
							|  |  |  |  | 			get {return _status;} | 
					
						
							|  |  |  |  | 			 set {_status = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  mem{ | 
					
						
							|  |  |  |  | 			get {return _mem;} | 
					
						
							|  |  |  |  | 			 set {_mem = 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,businessId,businessCode,businessName,type,address,zipCode,phone,fax,eMail,dftAddress,manger,contact,invoiceNo,invoiceAddress,invoiceHead,status,mem,pinyin,ext1,ext2,ext3,ext4,operater} | 
					
						
							|  |  |  |  |       #endregion | 
					
						
							|  |  |  |  |      | 
					
						
							|  |  |  |  | 	 | 
					
						
							|  |  |  |  | 	} | 
					
						
							|  |  |  |  | 	#endregion | 
					
						
							|  |  |  |  | } |