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.

32 lines
792 B

using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Infrastructure.Domain;
namespace Application.Domain.Entities
{
[Display(Name = "用户")]
public class User : BaseEntity, IDisableDelete
{
/// <summary>
/// 登录名
/// </summary>
public string UserName { get; set; }
/// <summary>
/// 加密混淆随机数
/// </summary>
public string SecurityStamp { get; set; }
/// <summary>
/// 加密密码
/// </summary>
public string PasswordHash { get; set; }
/// <summary>
/// 邮箱
/// </summary>
public string Email { get; set; }
public List<UserRole> UserRoles { get; set; } = new List<UserRole>();
}
}