using System.Diagnostics; using MediaBrowser.Model.Serialization; namespace MediaBrowser.Model.Dto { /// /// Class ChapterInfo /// [DebuggerDisplay("Name = {Name}")] public class ChapterInfoDto { /// /// Gets or sets the start position ticks. /// /// The start position ticks. public long StartPositionTicks { get; set; } /// /// Gets or sets the name. /// /// The name. public string Name { get; set; } /// /// Gets or sets the image tag. /// /// The image tag. public string ImageTag { get; set; } /// /// Gets a value indicating whether this instance has image. /// /// true if this instance has image; otherwise, false. [IgnoreDataMember] public bool HasImage { get { return ImageTag != null; } } } }