using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using SqlSugar; namespace IStation.Entity { /// /// 用户 /// [SugarTable("users")] public class User :BaseTraceEntity, System.ICloneable,ISorter,IUseStatus,ITagName { /// /// /// public User() { } /// /// /// public User(User rhs):base(rhs) { this.CorpID = rhs.CorpID; this.RelatedType = rhs.RelatedType; this.RelatedID = rhs.RelatedID; this.IsAdmin = rhs.IsAdmin; this.LoginName = rhs.LoginName; this.LoginPwd = rhs.LoginPwd; this.LoginImg = rhs.LoginImg; this.RealName = rhs.RealName; this.Mobile = rhs.Mobile; this.QQ = rhs.QQ; this.EMail = rhs.EMail; this.Paras = rhs.Paras; this.Flags = rhs.Flags; this.TagName = rhs.TagName; this.UseStatus = rhs.UseStatus; this.SortCode = rhs.SortCode; this.Description = rhs.Description; this.LastLoginTime = rhs.LastLoginTime; this.LastLoginIP = rhs.LastLoginIP; this.LastLoginSoftTag = rhs.LastLoginSoftTag; this.LastLoginSoftType = rhs.LastLoginSoftType; } /// /// 客户标识 /// public long CorpID { get; set; } /// /// 关联类型 /// public string RelatedType { get { return _relatedtype; } set { _relatedtype = value; } } private string _relatedtype; /// /// 关联标识 /// public long RelatedID { get { return _relatedid; } set { _relatedid = value; } } private long _relatedid; /// /// 是否为管理员 /// public bool IsAdmin { get { return _isadmin; } set { _isadmin = value; } } private bool _isadmin; /// /// 登录名称 /// public string LoginName { get { return _loginname; } set { _loginname = value; } } private string _loginname; /// /// 登录密码 /// public string LoginPwd { get { return _loginpwd; } set { _loginpwd = value; } } private string _loginpwd; /// /// 登录图片 /// public string LoginImg { get { return _loginimg; } set { _loginimg = value; } } private string _loginimg; /// /// 真实名称 /// public string RealName { get { return _realname; } set { _realname = value; } } private string _realname; /// /// 手机号码 /// public string Mobile { get { return _mobile; } set { _mobile = value; } } private string _mobile; /// /// QQ /// public string QQ { get { return _qq; } set { _qq = value; } } private string _qq; /// /// 电子邮件 /// public string EMail { get { return _email; } set { _email = value; } } private string _email; /// /// 参数 /// public string Paras { get { return _paras; } set { _paras = value; } } private string _paras; /// /// 标签列表 /// public string Flags { get { return _flags; } set { _flags = value; } } private string _flags; /// /// 标识名称 /// public string TagName { get { return _tagname; } set { _tagname = value; } } private string _tagname; /// /// 使用状态 /// public int UseStatus { get { return _usestatus; } set { _usestatus = value; } } private int _usestatus; /// /// 排序码 /// public int SortCode { get { return _sortcode; } set { _sortcode = value; } } private int _sortcode; /// /// 说明 /// public string Description { get { return _description; } set { _description = value; } } private string _description; /// /// 上次登录时间 /// public DateTime? LastLoginTime { get { return _lastlogintime; } set { _lastlogintime = value; } } private DateTime? _lastlogintime; /// /// 上次登录IP /// public string LastLoginIP { get { return _lastloginip; } set { _lastloginip = value; } } private string _lastloginip; /// /// 上次登录软件标签 /// public string LastLoginSoftTag { get { return _lastloginsofttag; } set { _lastloginsofttag = value; } } private string _lastloginsofttag; /// /// 上次登录类型 /// public string LastLoginSoftType { get { return _lastloginsofttype; } set { _lastloginsofttype = value; } } private string _lastloginsofttype; /// /// /// public User Clone() { return (User)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }