Files
juipnet/Services/Hncore.Pass.Vpn/Domain/UserEntity.cs
wanyongkang d318014316 初始提交
2020-10-07 20:25:03 +08:00

82 lines
2.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using Hncore.Infrastructure.DDD;
using System;
namespace Hncore.Pass.Vpn.Domain
{
public partial class UserEntity : EntityWithTime<int>, ITenant
{
/// <summary>
/// ID
/// <summary>
public int TenantId { get; set; }
/// <summary>
/// 管理员登录名[16
/// </summary>
public string LoginCode { get; set; }
/// <summary>
/// 登录密码[20]
/// </summary>
public string Password { get; set; }
/// <summary>
/// 微信昵称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 微信头像
/// </summary>
public string Phone { get; set; }
/// <summary>
/// 注册来源
/// </summary>
public string Profile { get; set; }
/// <summary>
/// 状态
/// </summary>
public int Enabled { get; set; } = 1;
/// <summary>
/// 头像地址[30
/// </summary>
public string PhotoUrl { get; set; }
/// <summary>
/// 是否主管理员权限
/// </summary>
public DateTime? LastLoginDate { get; set; } = DateTime.Now;
public int Sex { get; set; }
//1:管理员添加 2自己注册 3来自淘宝
public int CreateType { get; set; }
public int ProductAccountCount { get; set; }
public int ExpiredProductAccountCount { get; set; }
public decimal RestAmount { get; set; }
public decimal ConsumeAmount { get; set; }
public string Remark { get; set; }
public string Wx { get; set; }
public string QQ { get; set; }
public string Email { get; set; }
public string TaoBao { get; set; }
public string WangWang { get; set; }
public int? TestCountLimit { get; set; } = 0;
public int? UseTestCount { get; set; } = 0;
public int? ManagerId { get; set; } = 0;
public string ManagerName { get; set; }
}
}