using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
|
|
namespace Basic.Model
|
|
{
|
|
/// <summary>
|
|
/// 管理角色:实体类
|
|
/// </summary>
|
|
[Serializable]
|
|
public class manager_role
|
|
{
|
|
|
|
#region Model
|
|
private int _id;
|
|
private string _role_name;
|
|
private int _role_type = 1;
|
|
/// <summary>
|
|
/// 自增ID
|
|
/// </summary>
|
|
public int id
|
|
{
|
|
set { _id = value; }
|
|
get { return _id; }
|
|
}
|
|
/// <summary>
|
|
/// 角色名称
|
|
/// </summary>
|
|
public string role_name
|
|
{
|
|
set { _role_name = value; }
|
|
get { return _role_name; }
|
|
}
|
|
/// <summary>
|
|
/// 角色类型
|
|
/// </summary>
|
|
public int role_type
|
|
{
|
|
set { _role_type = value; }
|
|
get { return _role_type; }
|
|
}
|
|
#endregion Model
|
|
|
|
private List<Model.manager_role_value> _manager_role_values;
|
|
/// <summary>
|
|
/// 权限子类
|
|
/// </summary>
|
|
public List<Model.manager_role_value> manager_role_values
|
|
{
|
|
set { _manager_role_values = value; }
|
|
get { return _manager_role_values; }
|
|
}
|
|
}
|
|
}
|