91 lines
2.0 KiB
C#
91 lines
2.0 KiB
C#
/// <summary>
|
|
///Data Object
|
|
///BASIC CLASS FOR TABLE t_RoleAuthority
|
|
///By wm
|
|
///on 08/04/2023
|
|
/// </summary>
|
|
|
|
using System;
|
|
using System.Data;
|
|
using DeiNiu.Data.BaseObject;
|
|
|
|
namespace DeiNiu.wms.Data.Model
|
|
{
|
|
|
|
#region RoleAuthority_base
|
|
/// <summary>
|
|
/// This object represents the properties and methods of a RoleAuthority_base.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class RoleAuthority_base : BaseModel {
|
|
|
|
|
|
internal int _ra_role,_Ora_role;
|
|
internal int _ra_authority,_Ora_authority;
|
|
|
|
internal int _Ooperater;
|
|
internal string _create_time = String.Empty,_Ocreate_time= String.Empty;
|
|
|
|
|
|
public RoleAuthority_base () {
|
|
}
|
|
public RoleAuthority_base (int id) {
|
|
_id=id;
|
|
getModel();
|
|
}
|
|
public RoleAuthority_base(DataRow dr)
|
|
{
|
|
getModel(dr);
|
|
}
|
|
public RoleAuthority_base(System.Data.SqlClient.SqlConnection _Conn)
|
|
: base(_Conn)
|
|
{
|
|
|
|
}
|
|
protected override void getImp()
|
|
{
|
|
model_imp = new RoleAuthority_base_Imp();
|
|
}
|
|
#region Public Properties
|
|
public int ra_role{
|
|
get {return _ra_role;}
|
|
set {_ra_role = value;}
|
|
}
|
|
|
|
public int ra_authority{
|
|
get {return _ra_authority;}
|
|
set {_ra_authority = 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{ra_role,ra_authority,operater}
|
|
#endregion
|
|
|
|
|
|
}
|
|
#endregion
|
|
}
|