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.
iot/projects/StudyCenter/Application/Domain/Entities/LessonResource.cs

25 lines
625 B

using System;
using System.ComponentModel.DataAnnotations;
using Infrastructure.Domain;
namespace Application.Domain.Entities
{
/// <summary>
/// 每一课时关联的资源
/// </summary>
[Display(Name = "课时资源")]
public class LessonResource : BaseEntity
{
[Display(Name = "名称")]
public string Name { get; set; }
[Display(Name = "课时")]
public Guid LessionId { get; set; }
[Display(Name = "资源")]
public Guid ResourceId { get; set; }
public Lesson Lesson { get; set; }
public Resource Resource { get; set; }
}
}