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