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