using System;
|
using System.Text;
|
using System.Collections.Generic;
|
using System.Data;
|
using System.Runtime.Serialization;
|
using SqlSugar;
|
|
namespace IStation.Entity
|
{
|
/// <summary>
|
/// 角色菜单映射
|
/// </summary>
|
[SugarTable("role_menu_mapping")]
|
public class RoleMenuMapping : BaseEntity, System.ICloneable
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public RoleMenuMapping() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public RoleMenuMapping(RoleMenuMapping rhs) : base(rhs)
|
{
|
this.RoleID = rhs.RoleID;
|
this.AuthLevel = rhs.AuthLevel;
|
this.MenuID = rhs.MenuID;
|
}
|
|
/// <summary>
|
/// 角色标识
|
/// </summary>
|
public long RoleID
|
{
|
get { return _roleid; }
|
set { _roleid = value; }
|
}
|
private long _roleid;
|
|
/// <summary>
|
/// 权限等级
|
/// </summary>
|
public int AuthLevel
|
{
|
get { return _authlevel; }
|
set { _authlevel = value; }
|
}
|
private int _authlevel;
|
|
/// <summary>
|
/// 菜单标识
|
/// </summary>
|
public long MenuID
|
{
|
get { return _menuid; }
|
set { _menuid = value; }
|
}
|
private long _menuid;
|
|
|
/// <summary>
|
///
|
/// </summary>
|
public RoleMenuMapping Clone()
|
{
|
return (RoleMenuMapping)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
|
}
|