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