| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | /// <summary> | 
					
						
							|  |  |  |  | ///Data Object  | 
					
						
							|  |  |  |  | ///BASIC CLASS FOR TABLE t_erp_sale | 
					
						
							|  |  |  |  | ///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_sale_base | 
					
						
							|  |  |  |  | 	/// <summary> | 
					
						
							|  |  |  |  | 	/// This object represents the properties and methods of a Erp_sale_base. | 
					
						
							|  |  |  |  |     /// </summary> | 
					
						
							|  |  |  |  |     [Serializable] | 
					
						
							|  |  |  |  | 	public class Erp_sale_base  : BaseModel {  | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |                         | 
					
						
							|  |  |  |  |                     internal string _sale_order = String.Empty,_Osale_order= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _order_typeName = String.Empty,_Oorder_typeName= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _order_type,_Oorder_type;    | 
					
						
							|  |  |  |  |                     internal int _orderSource,_OorderSource;    | 
					
						
							|  |  |  |  |                     internal int _priority,_Opriority;    | 
					
						
							|  |  |  |  |                     internal string _custor_id = String.Empty,_Ocustor_id= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _pickOrder = String.Empty,_OpickOrder= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _waveOrder = String.Empty,_OwaveOrder= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _custor_name = String.Empty,_Ocustor_name= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _delivery,_Odelivery;    | 
					
						
							|  |  |  |  |                     internal string _send_address = String.Empty,_Osend_address= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _tel_1 = String.Empty,_Otel_1= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _tel_2 = String.Empty,_Otel_2= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _receive_man = String.Empty,_Oreceive_man= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _salse_people = String.Empty,_Osalse_people= String.Empty;    | 
					
						
							|  |  |  |  |                     internal int _total_num,_Ototal_num;    | 
					
						
							|  |  |  |  |                     internal string _entid = String.Empty,_Oentid= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _orgid = String.Empty,_Oorgid= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _dueDate = String.Empty,_OdueDate= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _orderDate = String.Empty,_OorderDate= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _remark = String.Empty,_Oremark= String.Empty;    | 
					
						
							|  |  |  |  |                     internal decimal _total_money,_Ototal_money;    | 
					
						
							|  |  |  |  |                     internal int _erp_state,_Oerp_state;    | 
					
						
							|  |  |  |  |                     internal int _wms_state,_Owms_state;    | 
					
						
							|  |  |  |  |                     internal decimal _fandian,_Ofandian;    | 
					
						
							|  |  |  |  |                     internal bool _liangdeng,_Oliangdeng;    | 
					
						
							|  |  |  |  |                     internal string _liangdengsj = String.Empty,_Oliangdengsj= String.Empty;    | 
					
						
							|  |  |  |  |                     internal bool _fuhezt,_Ofuhezt;    | 
					
						
							|  |  |  |  |                     internal string _fuheren = String.Empty,_Ofuheren= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _fuhesj = String.Empty,_Ofuhesj= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _fuheren1 = String.Empty,_Ofuheren1= String.Empty;    | 
					
						
							|  |  |  |  |                     internal string _fuhesj1 = String.Empty,_Ofuhesj1= 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_sale_base () { | 
					
						
							|  |  |  |  | 		} | 
					
						
							|  |  |  |  | 		public  Erp_sale_base (int id) { | 
					
						
							|  |  |  |  | 			_id=id; | 
					
						
							|  |  |  |  | 			getModel(); | 
					
						
							|  |  |  |  | 		} | 
					
						
							|  |  |  |  | 		public  Erp_sale_base(DataRow dr) | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             getModel(dr); | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |           public Erp_sale_base(System.Data.SqlClient.SqlConnection _Conn) | 
					
						
							|  |  |  |  |             : base(_Conn)  | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |           protected override void getImp() | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             model_imp = new Erp_sale_base_Imp();   | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 		#region Public Properties  | 
					
						
							|  |  |  |  |         public string  sale_order{ | 
					
						
							|  |  |  |  | 			get {return _sale_order;} | 
					
						
							|  |  |  |  | 			 set {_sale_order = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  order_typeName{ | 
					
						
							|  |  |  |  | 			get {return _order_typeName;} | 
					
						
							|  |  |  |  | 			 set {_order_typeName = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   order_type{ | 
					
						
							|  |  |  |  | 			get {return _order_type;} | 
					
						
							|  |  |  |  | 			 set {_order_type = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   orderSource{ | 
					
						
							|  |  |  |  | 			get {return _orderSource;} | 
					
						
							|  |  |  |  | 			 set {_orderSource = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   priority{ | 
					
						
							|  |  |  |  | 			get {return _priority;} | 
					
						
							|  |  |  |  | 			 set {_priority = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  custor_id{ | 
					
						
							|  |  |  |  | 			get {return _custor_id;} | 
					
						
							|  |  |  |  | 			 set {_custor_id = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  pickOrder{ | 
					
						
							|  |  |  |  | 			get {return _pickOrder;} | 
					
						
							|  |  |  |  | 			 set {_pickOrder = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  waveOrder{ | 
					
						
							|  |  |  |  | 			get {return _waveOrder;} | 
					
						
							|  |  |  |  | 			 set {_waveOrder = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  custor_name{ | 
					
						
							|  |  |  |  | 			get {return _custor_name;} | 
					
						
							|  |  |  |  | 			 set {_custor_name = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   delivery{ | 
					
						
							|  |  |  |  | 			get {return _delivery;} | 
					
						
							|  |  |  |  | 			 set {_delivery = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  send_address{ | 
					
						
							|  |  |  |  | 			get {return _send_address;} | 
					
						
							|  |  |  |  | 			 set {_send_address = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  tel_1{ | 
					
						
							|  |  |  |  | 			get {return _tel_1;} | 
					
						
							|  |  |  |  | 			 set {_tel_1 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  tel_2{ | 
					
						
							|  |  |  |  | 			get {return _tel_2;} | 
					
						
							|  |  |  |  | 			 set {_tel_2 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  receive_man{ | 
					
						
							|  |  |  |  | 			get {return _receive_man;} | 
					
						
							|  |  |  |  | 			 set {_receive_man = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  salse_people{ | 
					
						
							|  |  |  |  | 			get {return _salse_people;} | 
					
						
							|  |  |  |  | 			 set {_salse_people = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   total_num{ | 
					
						
							|  |  |  |  | 			get {return _total_num;} | 
					
						
							|  |  |  |  | 			 set {_total_num = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  entid{ | 
					
						
							|  |  |  |  | 			get {return _entid;} | 
					
						
							|  |  |  |  | 			 set {_entid = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  orgid{ | 
					
						
							|  |  |  |  | 			get {return _orgid;} | 
					
						
							|  |  |  |  | 			 set {_orgid = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  dueDate{ | 
					
						
							|  |  |  |  | 			get {return _dueDate;} | 
					
						
							|  |  |  |  | 			 set {_dueDate = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  orderDate{ | 
					
						
							|  |  |  |  | 			get {return _orderDate;} | 
					
						
							|  |  |  |  | 			 set {_orderDate = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  remark{ | 
					
						
							|  |  |  |  | 			get {return _remark;} | 
					
						
							|  |  |  |  | 			 set {_remark = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   total_money{ | 
					
						
							|  |  |  |  | 			get {return _total_money;} | 
					
						
							|  |  |  |  | 			 set {_total_money = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   erp_state{ | 
					
						
							|  |  |  |  | 			get {return _erp_state;} | 
					
						
							|  |  |  |  | 			 set {_erp_state = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  int   wms_state{ | 
					
						
							|  |  |  |  | 			get {return _wms_state;} | 
					
						
							|  |  |  |  | 			 set {_wms_state = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  decimal   fandian{ | 
					
						
							|  |  |  |  | 			get {return _fandian;} | 
					
						
							|  |  |  |  | 			 set {_fandian = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  bool   liangdeng{ | 
					
						
							|  |  |  |  | 			get {return _liangdeng;} | 
					
						
							|  |  |  |  | 			 set {_liangdeng = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  liangdengsj{ | 
					
						
							|  |  |  |  | 			get {return _liangdengsj;} | 
					
						
							|  |  |  |  | 			 set {_liangdengsj = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public  bool   fuhezt{ | 
					
						
							|  |  |  |  | 			get {return _fuhezt;} | 
					
						
							|  |  |  |  | 			 set {_fuhezt = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  fuheren{ | 
					
						
							|  |  |  |  | 			get {return _fuheren;} | 
					
						
							|  |  |  |  | 			 set {_fuheren = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  fuhesj{ | 
					
						
							|  |  |  |  | 			get {return _fuhesj;} | 
					
						
							|  |  |  |  | 			 set {_fuhesj = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  fuheren1{ | 
					
						
							|  |  |  |  | 			get {return _fuheren1;} | 
					
						
							|  |  |  |  | 			 set {_fuheren1 = value;}     | 
					
						
							|  |  |  |  | 		}   | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         public string  fuhesj1{ | 
					
						
							|  |  |  |  | 			get {return _fuhesj1;} | 
					
						
							|  |  |  |  | 			 set {_fuhesj1 = 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{sale_order,order_typeName,order_type,orderSource,priority,custor_id,pickOrder,waveOrder,custor_name,delivery,send_address,tel_1,tel_2,receive_man,salse_people,total_num,entid,orgid,dueDate,orderDate,remark,total_money,erp_state,wms_state,fandian,liangdeng,liangdengsj,fuhezt,fuheren,fuhesj,fuheren1,fuhesj1,ext1,ext2,ext3,ext4,operater} | 
					
						
							|  |  |  |  |       #endregion | 
					
						
							|  |  |  |  |      | 
					
						
							|  |  |  |  | 	 | 
					
						
							|  |  |  |  | 	} | 
					
						
							|  |  |  |  | 	#endregion | 
					
						
							|  |  |  |  | } |