using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Infrastructure.Domain; namespace Application.Domain.Entities { [Display(Name = "试卷")] public class Paper : BaseEntity { [Display(Name = "名称")] public string Name { get; set; } public List Questions { get; set; } = new List(); public List UserPapers { get; set; } = new List(); } }