using MediaBrowser.Model.Serialization;
namespace MediaBrowser.Model.Dto
{
///
/// Class ChapterInfo
///
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; }
}
}
}