You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
37 lines
1.1 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using Infrastructure.Domain;
|
|
|
|
namespace Application.Domain.Entities
|
|
{
|
|
/// <summary>
|
|
/// 课程的期
|
|
/// </summary>
|
|
[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<SemesterCourse> SemesterCourses { get; set; } = new List<SemesterCourse>();
|
|
public List<TermUser> TermUsers { get; set; } = new List<TermUser>();
|
|
public List<Lesson> Lessons { get; set; } = new List<Lesson>();
|
|
public List<Eaxm> Exams { get; set; } = new List<Eaxm>();
|
|
}
|
|
} |