using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Infrastructure.Domain; namespace Application.Domain.Entities { [Display(Name = "用户")] public class User : BaseEntity { public string UserName { get; set; } public string SecurityStamp { get; set; } public string PasswordHash { get; set; } public bool PasswordConfirmed { get; set; } public string Email { get; set; } public bool EmailConfirmed { get; set; } public bool PhoneNumberConfirmed { get; set; } public string PhoneNumber { get; set; } public string PayPassword { get; set; } public bool PayPasswordConfirmed { get; set; } public string RealName { get; set; } public string IdCardNumber { get; set; } public bool IdentityConfirmed { get; set; } public string NickName { get; set; } public string Avatar { get; set; } public Sex Sex { get; set; } public DateTime? Birthday { get; set; } public decimal AvailBalance { get; set; } public decimal FrozenBlance { get; set; } public long Point { get; set; } public bool LockoutEnabled { get; set; } public int AccessFailedCount { get; set; } public DateTimeOffset? LockoutEnd { get; set; } public List UserRoles { get; set; } = new List(); } }