mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
- Documents all library entities - Fixes styling warnings for library entities - Updates library entities to inherit from interfaces - Makes library entites no longer partial.
28 lines
837 B
C#
28 lines
837 B
C#
using System.Collections.Generic;
|
|
using Jellyfin.Data.Interfaces;
|
|
|
|
namespace Jellyfin.Data.Entities.Libraries
|
|
{
|
|
/// <summary>
|
|
/// An entity representing a movie.
|
|
/// </summary>
|
|
public class Movie : LibraryItem, IHasReleases
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="Movie"/> class.
|
|
/// </summary>
|
|
public Movie()
|
|
{
|
|
Releases = new HashSet<Release>();
|
|
MovieMetadata = new HashSet<MovieMetadata>();
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
public virtual ICollection<Release> Releases { get; protected set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a collection containing the metadata for this movie.
|
|
/// </summary>
|
|
public virtual ICollection<MovieMetadata> MovieMetadata { get; protected set; }
|
|
}
|
|
}
|