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.

18 lines
530 B

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Infrastructure.Domain;
namespace Application.Domain.Entities
{
[Display(Name = "章节")]
public class Section : BaseTreeEntity<Section>
{
[Display(Name = "教材")]
public Guid BookId { get; set; }
public Book Book { get; set; }
public List<Resource> Resources { get; set; } = new List<Resource>();
public List<Question> Questions { get; set; } = new List<Question>();
}
}