init lserp cs 5.0
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
using System;
|
||||
namespace NOVA.DevFx.Security.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户与权限对应实体类
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class Role_In_Permission
|
||||
{
|
||||
public Role_In_Permission()
|
||||
{}
|
||||
#region Model
|
||||
private int _id;
|
||||
private int _module_id;
|
||||
private int _role_id;
|
||||
private int _permission_id;
|
||||
private bool _enabled;
|
||||
/// <summary>
|
||||
/// 编码
|
||||
/// </summary>
|
||||
public int id
|
||||
{
|
||||
set{ _id=value;}
|
||||
get{return _id;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 所属模块编码
|
||||
/// </summary>
|
||||
public int module_id
|
||||
{
|
||||
set{ _module_id=value;}
|
||||
get{return _module_id;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 所属角色编码
|
||||
/// </summary>
|
||||
public int role_id
|
||||
{
|
||||
set{ _role_id=value;}
|
||||
get{return _role_id;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 所属权限编码
|
||||
/// </summary>
|
||||
public int permission_id
|
||||
{
|
||||
set{ _permission_id=value;}
|
||||
get{return _permission_id;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 是否启用
|
||||
/// </summary>
|
||||
public bool enabled
|
||||
{
|
||||
set{ _enabled=value;}
|
||||
get{return _enabled;}
|
||||
}
|
||||
#endregion Model
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user