You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.3 KiB

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)]
[AdminModule]
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<OrganUser> OrganUsers { get; set; } = new List<OrganUser>();
}
}