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 List UserRoles { get; set; } = new List(); } }