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 UserRoleMapping : System.ICloneable
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public UserRoleMapping() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public UserRoleMapping(UserRoleMapping rhs)
|
{
|
this.ID = rhs.ID;
|
this.UserID = rhs.UserID;
|
this.RoleID = rhs.RoleID;
|
|
}
|
|
|
/// <summary>
|
///
|
/// </summary>
|
public void Reset(UserRoleMapping rhs)
|
{
|
this.ID = rhs.ID;
|
this.UserID = rhs.UserID;
|
this.RoleID = rhs.RoleID;
|
|
}
|
|
/// <summary>
|
/// 标识
|
/// </summary>
|
public long ID { get; set; }
|
|
/// <summary>
|
/// 用户标识
|
/// </summary>
|
public long UserID { get; set; }
|
|
/// <summary>
|
/// 角色标识
|
/// </summary>
|
public long RoleID { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public UserRoleMapping Clone()
|
{
|
return (UserRoleMapping)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
|
}
|