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.

18 lines
580 B

using Infrastructure.Domain;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Application.Domain.Entities
{
[Display(Name = "用户")]
public class User : BaseEntity
{
public string UserName { get; set; }
public string NickName { get; set; }
public string Avatar { get; set; }
public string SecurityStamp { get; set; }
public string PasswordHash { get; set; }
public string Email { get; set; }
public List<UserRole> UserRoles { get; set; } = new List<UserRole>();
}
}