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