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