using System; namespace Jellyfin.Data.Entities; /// /// The Chapter entity. /// public class Chapter { /// /// Gets or Sets the reference id. /// public required Guid ItemId { get; set; } /// /// Gets or Sets the reference. /// public required BaseItemEntity Item { get; set; } /// /// Gets or Sets the chapters index in Item. /// public required int ChapterIndex { get; set; } /// /// Gets or Sets the position within the source file. /// public required long StartPositionTicks { get; set; } /// /// Gets or Sets the common name. /// public string? Name { get; set; } /// /// Gets or Sets the image path. /// public string? ImagePath { get; set; } /// /// Gets or Sets the time the image was last modified. /// public DateTime? ImageDateModified { get; set; } }