127 lines
2.9 KiB
C#
127 lines
2.9 KiB
C#
/// <summary>
|
|
///Data Object
|
|
///BASIC CLASS FOR TABLE t_node
|
|
///By wm
|
|
///on 08/04/2023
|
|
/// </summary>
|
|
|
|
using System;
|
|
using System.Data;
|
|
using DeiNiu.Data.BaseObject;
|
|
|
|
namespace DeiNiu.wms.Data.Model
|
|
{
|
|
|
|
#region Node_base
|
|
/// <summary>
|
|
/// This object represents the properties and methods of a Node_base.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class Node_base : BaseModel {
|
|
|
|
|
|
internal string _name = String.Empty,_Oname= String.Empty;
|
|
internal string _value = String.Empty,_Ovalue= String.Empty;
|
|
internal int _valueType,_OvalueType;
|
|
internal bool _isOn,_OisOn;
|
|
internal string _description = String.Empty,_Odescription= String.Empty;
|
|
internal int _parentid,_Oparentid;
|
|
internal int _flag,_Oflag;
|
|
internal bool _isSystem,_OisSystem;
|
|
internal int _Ooperater;
|
|
|
|
internal string _createtime = String.Empty,_Ocreatetime= String.Empty;
|
|
|
|
|
|
public Node_base () {
|
|
}
|
|
public Node_base (int id) {
|
|
_id=id;
|
|
getModel();
|
|
}
|
|
public Node_base(DataRow dr)
|
|
{
|
|
getModel(dr);
|
|
}
|
|
public Node_base(System.Data.SqlClient.SqlConnection _Conn)
|
|
: base(_Conn)
|
|
{
|
|
|
|
}
|
|
protected override void getImp()
|
|
{
|
|
model_imp = new Node_base_Imp();
|
|
}
|
|
#region Public Properties
|
|
public string name{
|
|
get {return _name;}
|
|
set {_name = value;}
|
|
}
|
|
|
|
public string value{
|
|
get {return _value;}
|
|
set {_value = value;}
|
|
}
|
|
|
|
public int valueType{
|
|
get {return _valueType;}
|
|
set {_valueType = value;}
|
|
}
|
|
|
|
public bool isOn{
|
|
get {return _isOn;}
|
|
set {_isOn = value;}
|
|
}
|
|
|
|
public string description{
|
|
get {return _description;}
|
|
set {_description = value;}
|
|
}
|
|
|
|
public int parentid{
|
|
get {return _parentid;}
|
|
set {_parentid = value;}
|
|
}
|
|
|
|
public int flag{
|
|
get {return _flag;}
|
|
set {_flag = value;}
|
|
}
|
|
|
|
public bool isSystem{
|
|
get {return _isSystem;}
|
|
set {_isSystem = 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{name,value,valueType,isOn,description,parentid,flag,isSystem,operater}
|
|
#endregion
|
|
|
|
|
|
}
|
|
#endregion
|
|
}
|