using System; using System.ComponentModel.DataAnnotations; using Infrastructure.Domain; namespace Application.Domain.Entities { /// /// 每一课时关联的资源 /// [Display(Name = "课时资源")] public class LessonResource : BaseEntity { [Display(Name = "名称")] public string Name { get; set; } [Display(Name = "课时")] public Guid LessionId { get; set; } [Display(Name = "资源")] public Guid ResourceId { get; set; } public Lesson Lesson { get; set; } public Resource Resource { get; set; } } }