using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Infrastructure.Domain; namespace Application.Domain.Entities { /// /// 教材 /// [Display(Name = "教材")] public class Book : BaseEntity { [Display(Name = "名称")] public string Name { get; set; } [Display(Name = "编号")] public string Number { get; set; } [Display(Name = "出版社")] public string Press { get; set; } [Display(Name = "分类")] public Guid? BookCategoryId { get; set; } public BookCategory BookCategory { get; set; } public List
Sections { get; set; } = new List
(); public List Terms { get; set; } = new List(); } }