133 lines
3.3 KiB
C#
133 lines
3.3 KiB
C#
/// <summary>
|
|
///Data Object
|
|
///BASIC CLASS FOR TABLE t_lesson
|
|
///By wm
|
|
///on 08/04/2023
|
|
/// </summary>
|
|
|
|
using System;
|
|
using System.Data;
|
|
using DeiNiu.Data.BaseObject;
|
|
|
|
namespace DeiNiu.wms.Data.Model
|
|
{
|
|
|
|
#region Lesson_base
|
|
/// <summary>
|
|
/// This object represents the properties and methods of a Lesson_base.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class Lesson_base : BaseModel {
|
|
|
|
|
|
internal int _le_category,_Ole_category;
|
|
internal string _le_name = String.Empty,_Ole_name= String.Empty;
|
|
internal string _le_desc = String.Empty,_Ole_desc= String.Empty;
|
|
internal string _le_startdate = String.Empty,_Ole_startdate= String.Empty;
|
|
internal string _le_enddate = String.Empty,_Ole_enddate= String.Empty;
|
|
internal string _le_location = String.Empty,_Ole_location= String.Empty;
|
|
internal int _le_xuefen,_Ole_xuefen;
|
|
internal string _le_trainer = String.Empty,_Ole_trainer= String.Empty;
|
|
internal int _le_master,_Ole_master;
|
|
|
|
internal int _Ooperater;
|
|
internal string _create_time = String.Empty,_Ocreate_time= String.Empty;
|
|
|
|
|
|
public Lesson_base () {
|
|
}
|
|
public Lesson_base (int id) {
|
|
_id=id;
|
|
getModel();
|
|
}
|
|
public Lesson_base(DataRow dr)
|
|
{
|
|
getModel(dr);
|
|
}
|
|
public Lesson_base(System.Data.SqlClient.SqlConnection _Conn)
|
|
: base(_Conn)
|
|
{
|
|
|
|
}
|
|
protected override void getImp()
|
|
{
|
|
model_imp = new Lesson_base_Imp();
|
|
}
|
|
#region Public Properties
|
|
public int le_category{
|
|
get {return _le_category;}
|
|
set {_le_category = value;}
|
|
}
|
|
|
|
public string le_name{
|
|
get {return _le_name;}
|
|
set {_le_name = value;}
|
|
}
|
|
|
|
public string le_desc{
|
|
get {return _le_desc;}
|
|
set {_le_desc = value;}
|
|
}
|
|
|
|
public string le_startdate{
|
|
get {return _le_startdate;}
|
|
set {_le_startdate = value;}
|
|
}
|
|
|
|
public string le_enddate{
|
|
get {return _le_enddate;}
|
|
set {_le_enddate = value;}
|
|
}
|
|
|
|
public string le_location{
|
|
get {return _le_location;}
|
|
set {_le_location = value;}
|
|
}
|
|
|
|
public int le_xuefen{
|
|
get {return _le_xuefen;}
|
|
set {_le_xuefen = value;}
|
|
}
|
|
|
|
public string le_trainer{
|
|
get {return _le_trainer;}
|
|
set {_le_trainer = value;}
|
|
}
|
|
|
|
public int le_master{
|
|
get {return _le_master;}
|
|
set {_le_master = 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{le_category,le_name,le_desc,le_startdate,le_enddate,le_location,le_xuefen,le_trainer,le_master,operater}
|
|
#endregion
|
|
|
|
|
|
}
|
|
#endregion
|
|
}
|