using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Infrastructure.Domain; namespace Application.Domain.Entities { /// /// 课时,课程的每一期包含的课时 /// [Display(Name = "课时")] public class Lesson : BaseEntity { [Display(Name = "名称")] public string Name { get; set; } [Display(Name = "期次")] public Guid TermId { get; set; } public Term Term { get; set; } public List LessonResources { get; set; } = new List(); public int DisplayOrder { get; set; } } }