using SqlSugar;
namespace Waste.Domain
{
///
/// 账户表
///
public class W_Account
{
///
/// 账户表
///
public W_Account()
{
}
private System.Guid _Id;
///
///
///
[SugarColumn(IsPrimaryKey = true)]
public System.Guid Id { get { return this._Id; } set { this._Id = value; } }
private System.String _UserName;
///
/// 账户
///
public System.String UserName { get { return this._UserName; } set { this._UserName = value?.Trim(); } }
private System.String _RealName;
///
/// 昵称
///
public System.String RealName { get { return this._RealName; } set { this._RealName = value?.Trim(); } }
private System.String _Phone;
///
/// 手机号
///
public System.String Phone { get { return this._Phone; } set { this._Phone = value?.Trim(); } }
private System.String _Password;
///
/// 密码
///
public System.String Password { get { return this._Password; } set { this._Password = value?.Trim(); } }
private System.String _Secret;
///
/// 密钥
///
public System.String Secret { get { return this._Secret; } set { this._Secret = value?.Trim(); } }
private System.Guid _RoleId;
///
/// 角色ID
///
public System.Guid RoleId { get { return this._RoleId; } set { this._RoleId = value; } }
private System.Int32 _AccountType;
///
/// 账户类型
///
public System.Int32 AccountType { get { return this._AccountType; } set { this._AccountType = value; } }
private System.Guid _BusinessId;
///
/// 客户ID
///
public System.Guid BusinessId { get { return this._BusinessId; } set { this._BusinessId = value; } }
private System.Int32 _Status;
///
/// 状态,0-禁用,1-启用
///
public System.Int32 Status { get { return this._Status; } set { this._Status = value; } }
private System.String _LastVisitIP;
///
/// 最近访问IP
///
public System.String LastVisitIP { get { return this._LastVisitIP; } set { this._LastVisitIP = value?.Trim(); } }
private System.DateTime? _LastVisitTime;
///
/// 最近访问时间
///
public System.DateTime? LastVisitTime { get { return this._LastVisitTime; } set { this._LastVisitTime = value; } }
private System.DateTime _CreateTime;
///
/// 注册时间
///
public System.DateTime CreateTime { get { return this._CreateTime; } set { this._CreateTime = value; } }
}
}