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.
57 lines
1.5 KiB
57 lines
1.5 KiB
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<UserRole> UserRoles { get; set; } = new List<UserRole>();
|
|
public List<UserDepartment> UserDepartments { get; set; } = new List<UserDepartment>();
|
|
}
|
|
} |