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 List UserRoles { get; set; } = new List(); public List TermUsers { get; set; } = new List(); public List Resources { get; set; } = new List(); public List Questions { get; set; } = new List(); public List UserQuestions { get; set; } = new List(); public List UserPaperQuestions { get; set; } = new List(); public List UserPapers { get; set; } = new List(); } }