91 lines
1.8 KiB
C#
91 lines
1.8 KiB
C#
|
/// <summary>
|
|||
|
///Data Object
|
|||
|
///BASIC CLASS FOR TABLE t_workplan
|
|||
|
///By wm
|
|||
|
///on 06/30/2017
|
|||
|
/// </summary>
|
|||
|
|
|||
|
using System;
|
|||
|
using System.Data;
|
|||
|
using DeiNiu.Data.BaseObject;
|
|||
|
|
|||
|
namespace DeiNiu.wms.Data.Model
|
|||
|
{
|
|||
|
|
|||
|
#region Workplan_base
|
|||
|
/// <summary>
|
|||
|
/// This object represents the properties and methods of a Workplan_base.
|
|||
|
/// </summary>
|
|||
|
[Serializable]
|
|||
|
public class Workplan_base : BaseModel {
|
|||
|
|
|||
|
|
|||
|
internal string _wp_date = String.Empty;
|
|||
|
internal int _wp_emp;
|
|||
|
|
|||
|
|
|||
|
internal string _create_time = String.Empty;
|
|||
|
|
|||
|
|
|||
|
public Workplan_base () {
|
|||
|
}
|
|||
|
public Workplan_base (int id) {
|
|||
|
_id=id;
|
|||
|
getModel();
|
|||
|
}
|
|||
|
public Workplan_base(DataRow dr)
|
|||
|
{
|
|||
|
getModel(dr);
|
|||
|
}
|
|||
|
public Workplan_base(System.Data.SqlClient.SqlConnection _Conn)
|
|||
|
: base(_Conn)
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
protected override void getImp()
|
|||
|
{
|
|||
|
model_imp = new Workplan_base_Imp();
|
|||
|
}
|
|||
|
#region Public Properties
|
|||
|
public string wp_date{
|
|||
|
get {return _wp_date;}
|
|||
|
set {_wp_date = value;}
|
|||
|
}
|
|||
|
|
|||
|
public int wp_emp{
|
|||
|
get {return _wp_emp;}
|
|||
|
set {_wp_emp = 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{wp_date,wp_emp,operater}
|
|||
|
#endregion
|
|||
|
|
|||
|
|
|||
|
}
|
|||
|
#endregion
|
|||
|
}
|