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.
24 lines
667 B
24 lines
667 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>();
|
|
public int DisplayOrder { get; set; }
|
|
}
|
|
} |