using System;
|
using System.Text;
|
using System.Collections.Generic;
|
using System.Data;
|
using System.Runtime.Serialization;
|
using System.ComponentModel.DataAnnotations;
|
|
namespace IStation.Model
|
{
|
/// <summary>
|
/// 角色授权
|
/// </summary>
|
public partial class RoleMenuMapping : System.ICloneable
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public RoleMenuMapping() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public RoleMenuMapping(RoleMenuMapping rhs)
|
{
|
this.ID = rhs.ID;
|
this.RoleID = rhs.RoleID;
|
this.AuthLevel = rhs.AuthLevel;
|
this.MenuID = rhs.MenuID;
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
public void Reset(RoleMenuMapping rhs)
|
{
|
this.ID = rhs.ID;
|
this.RoleID = rhs.RoleID;
|
this.AuthLevel = rhs.AuthLevel;
|
this.MenuID = rhs.MenuID;
|
}
|
|
/// <summary>
|
/// 标识
|
/// </summary>
|
public long ID { get; set; }
|
|
/// <summary>
|
/// 角色标识
|
/// </summary>
|
public long RoleID { get; set; }
|
|
/// <summary>
|
/// 权限等级
|
/// </summary>
|
public eAuthLevel AuthLevel { get; set; }
|
|
/// <summary>
|
/// 菜单标识
|
/// </summary>
|
public long MenuID { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public RoleMenuMapping Clone()
|
{
|
return (RoleMenuMapping)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
|
}
|