mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Moved Database projects under /src
removed old pgsql references
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Enums;
|
||||
|
||||
namespace Jellyfin.Data.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// An entity representing the metadata for a group of trickplay tiles.
|
||||
/// </summary>
|
||||
public class MediaSegment
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the id of the media segment.
|
||||
/// </summary>
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public Guid Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the id of the associated item.
|
||||
/// </summary>
|
||||
public Guid ItemId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the Type of content this segment defines.
|
||||
/// </summary>
|
||||
public MediaSegmentType Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the end of the segment.
|
||||
/// </summary>
|
||||
public long EndTicks { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the start of the segment.
|
||||
/// </summary>
|
||||
public long StartTicks { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets Id of the media segment provider this entry originates from.
|
||||
/// </summary>
|
||||
public required string SegmentProviderId { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user