25 lines
620 B
C#
25 lines
620 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
using FictionArchive.Service.NovelService.Models.Localization;
|
|
using FictionArchive.Service.Shared.Models;
|
|
|
|
namespace FictionArchive.Service.NovelService.Models.Novels;
|
|
|
|
[Table("Volume")]
|
|
public class Volume : BaseEntity<uint>
|
|
{
|
|
/// <summary>
|
|
/// Signed int to allow special ordering like -1 for "Author Notes" at top.
|
|
/// </summary>
|
|
public int Order { get; set; }
|
|
|
|
public LocalizationKey Name { get; set; }
|
|
|
|
public List<Chapter> Chapters { get; set; }
|
|
|
|
#region Navigation Properties
|
|
|
|
public Novel Novel { get; set; }
|
|
|
|
#endregion
|
|
}
|