139 lines
3.6 KiB
C#
139 lines
3.6 KiB
C#
/// <summary>
|
|
///Data Object
|
|
///BASIC CLASS FOR TABLE t_Authority
|
|
///By wm
|
|
///on 08/04/2023
|
|
/// </summary>
|
|
|
|
using System;
|
|
using System.Data;
|
|
using DeiNiu.Data.BaseObject;
|
|
|
|
namespace DeiNiu.wms.Data.Model
|
|
{
|
|
|
|
#region Authority_base
|
|
/// <summary>
|
|
/// This object represents the properties and methods of a Authority_base.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class Authority_base : BaseModel {
|
|
|
|
|
|
internal int _auth_uplevel,_Oauth_uplevel;
|
|
internal string _auth_name = String.Empty,_Oauth_name= String.Empty;
|
|
internal string _auth_link = String.Empty,_Oauth_link= String.Empty;
|
|
internal string _auth_class = String.Empty,_Oauth_class= String.Empty;
|
|
internal bool _auth_public,_Oauth_public;
|
|
internal string _auth_desc = String.Empty,_Oauth_desc= String.Empty;
|
|
internal bool _auth_marqueen,_Oauth_marqueen;
|
|
internal bool _auth_publicInfomation,_Oauth_publicInfomation;
|
|
internal bool _auth_special,_Oauth_special;
|
|
internal int _auth_order,_Oauth_order;
|
|
|
|
internal int _Ooperater;
|
|
internal string _create_time = String.Empty,_Ocreate_time= String.Empty;
|
|
|
|
|
|
public Authority_base () {
|
|
}
|
|
public Authority_base (int id) {
|
|
_id=id;
|
|
getModel();
|
|
}
|
|
public Authority_base(DataRow dr)
|
|
{
|
|
getModel(dr);
|
|
}
|
|
public Authority_base(System.Data.SqlClient.SqlConnection _Conn)
|
|
: base(_Conn)
|
|
{
|
|
|
|
}
|
|
protected override void getImp()
|
|
{
|
|
model_imp = new Authority_base_Imp();
|
|
}
|
|
#region Public Properties
|
|
public int auth_uplevel{
|
|
get {return _auth_uplevel;}
|
|
set {_auth_uplevel = value;}
|
|
}
|
|
|
|
public string auth_name{
|
|
get {return _auth_name;}
|
|
set {_auth_name = value;}
|
|
}
|
|
|
|
public string auth_link{
|
|
get {return _auth_link;}
|
|
set {_auth_link = value;}
|
|
}
|
|
|
|
public string auth_class{
|
|
get {return _auth_class;}
|
|
set {_auth_class = value;}
|
|
}
|
|
|
|
public bool auth_public{
|
|
get {return _auth_public;}
|
|
set {_auth_public = value;}
|
|
}
|
|
|
|
public string auth_desc{
|
|
get {return _auth_desc;}
|
|
set {_auth_desc = value;}
|
|
}
|
|
|
|
public bool auth_marqueen{
|
|
get {return _auth_marqueen;}
|
|
set {_auth_marqueen = value;}
|
|
}
|
|
|
|
public bool auth_publicInfomation{
|
|
get {return _auth_publicInfomation;}
|
|
set {_auth_publicInfomation = value;}
|
|
}
|
|
|
|
public bool auth_special{
|
|
get {return _auth_special;}
|
|
set {_auth_special = value;}
|
|
}
|
|
|
|
public int auth_order{
|
|
get {return _auth_order;}
|
|
set {_auth_order = 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{auth_uplevel,auth_name,auth_link,auth_class,auth_public,auth_desc,auth_marqueen,auth_publicInfomation,auth_special,auth_order,operater}
|
|
#endregion
|
|
|
|
|
|
}
|
|
#endregion
|
|
}
|