109 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			109 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			C#
		
	
	
	
| /// <summary>
 | |
| ///Data Object 
 | |
| ///BASIC CLASS FOR TABLE t_trainingDetail
 | |
| ///By wm  
 | |
| ///on 08/04/2023
 | |
| /// </summary>
 | |
|  
 | |
| using System;
 | |
| using System.Data;
 | |
| using DeiNiu.Data.BaseObject;
 | |
|  
 | |
| namespace  DeiNiu.wms.Data.Model
 | |
| {
 | |
| 
 | |
| 	#region TrainingDetail_base
 | |
| 	/// <summary>
 | |
| 	/// This object represents the properties and methods of a TrainingDetail_base.
 | |
|     /// </summary>
 | |
|     [Serializable]
 | |
| 	public class TrainingDetail_base  : BaseModel { 
 | |
| 
 | |
|                        
 | |
|                     internal int _train_lesson,_Otrain_lesson;   
 | |
|                     internal int _train_student,_Otrain_student;   
 | |
|                     internal int _train_score,_Otrain_score;   
 | |
|                     internal bool _train_passed,_Otrain_passed;   
 | |
|                     internal string _train_passedDate = String.Empty,_Otrain_passedDate= String.Empty;   
 | |
|                        
 | |
|                     internal int _Ooperater;   
 | |
|                     internal string _create_time = String.Empty,_Ocreate_time= String.Empty;   
 | |
|                        
 | |
| 		
 | |
| 		public  TrainingDetail_base () {
 | |
| 		}
 | |
| 		public  TrainingDetail_base (int id) {
 | |
| 			_id=id;
 | |
| 			getModel();
 | |
| 		}
 | |
| 		public  TrainingDetail_base(DataRow dr)
 | |
|         {
 | |
|             getModel(dr);
 | |
|         }
 | |
|           public TrainingDetail_base(System.Data.SqlClient.SqlConnection _Conn)
 | |
|             : base(_Conn) 
 | |
|         {
 | |
| 
 | |
|         }
 | |
|           protected override void getImp()
 | |
|         {
 | |
|             model_imp = new TrainingDetail_base_Imp();  
 | |
|         }
 | |
| 		#region Public Properties 
 | |
|         public  int   train_lesson{
 | |
| 			get {return _train_lesson;}
 | |
| 			 set {_train_lesson = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public  int   train_student{
 | |
| 			get {return _train_student;}
 | |
| 			 set {_train_student = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public  int   train_score{
 | |
| 			get {return _train_score;}
 | |
| 			 set {_train_score = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public  bool   train_passed{
 | |
| 			get {return _train_passed;}
 | |
| 			 set {_train_passed = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  train_passedDate{
 | |
| 			get {return _train_passedDate;}
 | |
| 			 set {_train_passedDate = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public  bool   dr{
 | |
| 			get {return _dr;}
 | |
| 			   
 | |
| 		}  
 | |
|         
 | |
|         public  int   operater{
 | |
| 			get {return _operater;}
 | |
| 			 set {_operater = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  create_time{
 | |
| 			get {return _create_time;}
 | |
| 			 set {_create_time = value;}    
 | |
| 		}  
 | |
|         
 | |
|         public string  lastmodified{
 | |
| 			get {return _lastmodified;}
 | |
| 			   
 | |
| 		}  
 | |
|         
 | |
| 		 
 | |
| 		#endregion
 | |
|                  
 | |
|       #region fieldNames 
 | |
|       public enum fields{train_lesson,train_student,train_score,train_passed,train_passedDate,operater}
 | |
|       #endregion
 | |
|     
 | |
| 	
 | |
| 	}
 | |
| 	#endregion
 | |
| }
 |