using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Infrastructure.Domain; namespace Application.Domain.Entities { /// /// 课程的期 /// [Display(Name = "课程期次")] public class Term : BaseEntity { [Display(Name = "名称")] public string Name { get; set; } [Display(Name = "开始")] public DateTime Start { get; set; } [Display(Name = "结束")] public DateTime End { get; set; } [Display(Name = "课程")] public Guid CourseId { get; set; } [Display(Name = "教材")] public Guid? BookId { get; set; } public Course Course { get; set; } public Book Book { get; set; } public List SemesterCourses { get; set; } = new List(); public List TermUsers { get; set; } = new List(); public List Lessons { get; set; } = new List(); public List Exams { get; set; } = new List(); } }