using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using SqlSugar;
namespace IStation.Entity
{
///
/// 用户登录授权
///
[SugarTable("user_login_auth")]
public class UserLoginAuth :BaseEntity, System.ICloneable,IUseStatus
{
///
///
///
public UserLoginAuth() { }
///
///
///
public UserLoginAuth(UserLoginAuth rhs):base(rhs)
{
this.UserID = rhs.UserID;
this.IdentityType = rhs.IdentityType;
this.Identifier = rhs.Identifier;
this.Credential = rhs.Credential;
this.IfVerified = rhs.IfVerified;
this.UseStatus = rhs.UseStatus;
}
///
/// 用户标识
///
public long UserID
{
get { return _userid; }
set { _userid = value; }
}
private long _userid;
///
/// 登录类型
///
public int IdentityType
{
get { return _identitytype; }
set { _identitytype = value; }
}
private int _identitytype;
///
/// 身份标识
///
public string Identifier
{
get { return _identifier; }
set { _identifier = value; }
}
private string _identifier;
///
/// 授权凭证
///
public string Credential
{
get { return _credential; }
set { _credential = value; }
}
private string _credential;
///
/// 是否验证
///
public bool IfVerified
{
get { return _ifverified; }
set { _ifverified = value; }
}
private bool _ifverified;
///
/// 使用状态
///
public int UseStatus
{
get { return _usestatus; }
set { _usestatus = value; }
}
private int _usestatus;
///
///
///
public UserLoginAuth Clone()
{
return (UserLoginAuth)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}