using Infrastructure.Domain; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Application.Domain.Entities { [Display(Name = "用户", Order = 50)] [Scope(ScopeAttribute.PlatformAll | ScopeType.UserRead | ScopeType.UserEdit)] [Module("基础设置", "Admin")] public class User : BaseEntity, IVersionEntity { 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 string PhoneNumber { get; set; } public bool PhoneNumberConfirmed { get; set; } public string RealName { get; set; } public string IdentityNumber { 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 bool LockoutEnabled { get; set; } public int AccessFailedCount { get; set; } public DateTime? LockoutEnd { get; set; } public string RowVersion { get; set; } public List OrganUsers { get; set; } = new List(); } }