using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.Serialization;
namespace MediaBrowser.Model.Dto
{
///
/// Class ChapterInfo
///
[DebuggerDisplay("Name = {Name}")]
public class ChapterInfoDto : INotifyPropertyChanged
{
///
/// 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 Guid? 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.HasValue; }
}
public event PropertyChangedEventHandler PropertyChanged;
}
}