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