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.

23 lines
621 B

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Infrastructure.Domain;
namespace Application.Domain.Entities
{
/// <summary>
/// 课时,课程的每一期包含的课时
/// </summary>
[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<LessonResource> LessonResources { get; set; } = new List<LessonResource>();
}
}