121 lines
2.8 KiB
C#
121 lines
2.8 KiB
C#
/// <summary>
|
|
///Data Object
|
|
///BASIC CLASS FOR TABLE t_WaveRule
|
|
///By wm
|
|
///on 08/04/2023
|
|
/// </summary>
|
|
|
|
using System;
|
|
using System.Data;
|
|
using DeiNiu.Data.BaseObject;
|
|
|
|
namespace DeiNiu.wms.Data.Model
|
|
{
|
|
|
|
#region WaveRule_base
|
|
/// <summary>
|
|
/// This object represents the properties and methods of a WaveRule_base.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class WaveRule_base : BaseModel {
|
|
|
|
|
|
internal string _ruleName = String.Empty,_OruleName= String.Empty;
|
|
internal int _lineId,_OlineId;
|
|
internal string _sales = String.Empty,_Osales= String.Empty;
|
|
internal string _owner = String.Empty,_Oowner= String.Empty;
|
|
internal int _type,_Otype;
|
|
internal bool _active,_Oactive;
|
|
internal int _interval,_Ointerval;
|
|
internal int _Ooperater;
|
|
|
|
internal string _createtime = String.Empty,_Ocreatetime= String.Empty;
|
|
|
|
|
|
public WaveRule_base () {
|
|
}
|
|
public WaveRule_base (int id) {
|
|
_id=id;
|
|
getModel();
|
|
}
|
|
public WaveRule_base(DataRow dr)
|
|
{
|
|
getModel(dr);
|
|
}
|
|
public WaveRule_base(System.Data.SqlClient.SqlConnection _Conn)
|
|
: base(_Conn)
|
|
{
|
|
|
|
}
|
|
protected override void getImp()
|
|
{
|
|
model_imp = new WaveRule_base_Imp();
|
|
}
|
|
#region Public Properties
|
|
public string ruleName{
|
|
get {return _ruleName;}
|
|
set {_ruleName = value;}
|
|
}
|
|
|
|
public int lineId{
|
|
get {return _lineId;}
|
|
set {_lineId = value;}
|
|
}
|
|
|
|
public string sales{
|
|
get {return _sales;}
|
|
set {_sales = value;}
|
|
}
|
|
|
|
public string owner{
|
|
get {return _owner;}
|
|
set {_owner = value;}
|
|
}
|
|
|
|
public int type{
|
|
get {return _type;}
|
|
set {_type = value;}
|
|
}
|
|
|
|
public bool active{
|
|
get {return _active;}
|
|
set {_active = value;}
|
|
}
|
|
|
|
public int interval{
|
|
get {return _interval;}
|
|
set {_interval = value;}
|
|
}
|
|
|
|
public int operater{
|
|
get {return _operater;}
|
|
set {_operater = value;}
|
|
}
|
|
|
|
public string lastmodified{
|
|
get {return _lastmodified;}
|
|
|
|
}
|
|
|
|
public string createtime{
|
|
get {return _createtime;}
|
|
set {_createtime = value;}
|
|
}
|
|
|
|
public bool dr{
|
|
get {return _dr;}
|
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
#region fieldNames
|
|
public enum fields{ruleName,lineId,sales,owner,type,active,interval,operater}
|
|
#endregion
|
|
|
|
|
|
}
|
|
#endregion
|
|
}
|