using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using SqlSugar; namespace IStation.Entity { /// /// 用户角色映射 /// [SugarTable("user_role_mapping")] public class UserRoleMapping :BaseEntity, System.ICloneable { /// /// /// public UserRoleMapping() { } /// /// /// public UserRoleMapping(UserRoleMapping rhs):base(rhs) { this.UserID = rhs.UserID; this.RoleID = rhs.RoleID; } /// /// 用户标识 /// public long UserID { get { return _userid; } set { _userid = value; } } private long _userid; /// /// 角色标识 /// public long RoleID { get { return _roleid; } set { _roleid = value; } } private long _roleid; /// /// /// public UserRoleMapping Clone() { return (UserRoleMapping)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }