| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | /// <summary> | 
					
						
							|  |  |  |  | ///Data Object  | 
					
						
							|  |  |  |  | ///BASIC CLASS FOR TABLE t_erpOrgDoc | 
					
						
							|  |  |  |  | ///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 ErpOrgDoc_base | 
					
						
							|  |  |  |  | 	/// <summary> | 
					
						
							|  |  |  |  | 	/// This object represents the properties and methods of a ErpOrgDoc_base. | 
					
						
							|  |  |  |  |     /// </summary> | 
					
						
							|  |  |  |  |     [Serializable] | 
					
						
							|  |  |  |  | 	public class ErpOrgDoc_base  : BaseModel {  | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |                         | 
					
						
							|  |  |  |  |                     internal string _ORGID = String.Empty,_OORGID= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _ORGCODE = String.Empty,_OORGCODE= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _ENTID = String.Empty,_OENTID= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _ORGNAME = String.Empty,_OORGNAME= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _alias = String.Empty,_Oalias= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _description = String.Empty,_Odescription= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _contact = String.Empty,_Ocontact= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _address = String.Empty,_Oaddress= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _phone = String.Empty,_Ophone= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _fax = String.Empty,_Ofax= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _status,_Ostatus;    | 
					
						
							|  |  |  |  |                     internal string _invoiceNo = String.Empty,_OinvoiceNo= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _invoiceAddress = String.Empty,_OinvoiceAddress= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _invoiceHead = String.Empty,_OinvoiceHead= String.Empty;    | 
					
						
							|  |  |  |  | 		 | 
					
						
							|  |  |  |  | 		public  ErpOrgDoc_base () { | 
					
						
							|  |  |  |  | 		} | 
					
						
							|  |  |  |  | 		public  ErpOrgDoc_base (int id) { | 
					
						
							|  |  |  |  | 			_id=id; | 
					
						
							|  |  |  |  | 			getModel(); | 
					
						
							|  |  |  |  | 		} | 
					
						
							|  |  |  |  | 		public  ErpOrgDoc_base(DataRow dr) | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             getModel(dr); | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |           public ErpOrgDoc_base(System.Data.SqlClient.SqlConnection _Conn) | 
					
						
							|  |  |  |  |             : base(_Conn)  | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |           protected override void getImp() | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             model_imp = new ErpOrgDoc_base_Imp();   | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 		#region Public Properties  | 
					
						
							|  |  |  |  |         public string  ORGID{ | 
					
						
							|  |  |  |  | 			get {return _ORGID;} | 
					
						
							|  |  |  |  | 			 set {_ORGID = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  ORGCODE{ | 
					
						
							|  |  |  |  | 			get {return _ORGCODE;} | 
					
						
							|  |  |  |  | 			 set {_ORGCODE = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  ENTID{ | 
					
						
							|  |  |  |  | 			get {return _ENTID;} | 
					
						
							|  |  |  |  | 			 set {_ENTID = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  ORGNAME{ | 
					
						
							|  |  |  |  | 			get {return _ORGNAME;} | 
					
						
							|  |  |  |  | 			 set {_ORGNAME = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  alias{ | 
					
						
							|  |  |  |  | 			get {return _alias;} | 
					
						
							|  |  |  |  | 			 set {_alias = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  description{ | 
					
						
							|  |  |  |  | 			get {return _description;} | 
					
						
							|  |  |  |  | 			 set {_description = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  contact{ | 
					
						
							|  |  |  |  | 			get {return _contact;} | 
					
						
							|  |  |  |  | 			 set {_contact = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  address{ | 
					
						
							|  |  |  |  | 			get {return _address;} | 
					
						
							|  |  |  |  | 			 set {_address = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  phone{ | 
					
						
							|  |  |  |  | 			get {return _phone;} | 
					
						
							|  |  |  |  | 			 set {_phone = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  fax{ | 
					
						
							|  |  |  |  | 			get {return _fax;} | 
					
						
							|  |  |  |  | 			 set {_fax = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   status{ | 
					
						
							|  |  |  |  | 			get {return _status;} | 
					
						
							|  |  |  |  | 			 set {_status = 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;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  | 		  | 
					
						
							|  |  |  |  | 		#endregion | 
					
						
							|  |  |  |  |                   | 
					
						
							|  |  |  |  |       #region fieldNames  | 
					
						
							|  |  |  |  |       public enum fields{ORGID,ORGCODE,ENTID,ORGNAME,alias,description,contact,address,phone,fax,status,invoiceNo,invoiceAddress,invoiceHead} | 
					
						
							|  |  |  |  |       #endregion | 
					
						
							|  |  |  |  |      | 
					
						
							|  |  |  |  | 	 | 
					
						
							|  |  |  |  | 	} | 
					
						
							|  |  |  |  | 	#endregion | 
					
						
							|  |  |  |  | } |