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.
30 lines
813 B
30 lines
813 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using Infrastructure.Domain;
|
|
|
|
namespace Application.Domain.Entities
|
|
{
|
|
/// <summary>
|
|
/// 教材
|
|
/// </summary>
|
|
[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<Section> Sections { get; set; } = new List<Section>();
|
|
public List<Term> Terms { get; set; } = new List<Term>();
|
|
}
|
|
} |