| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 | 
							- using System;
 
- using System.ComponentModel.DataAnnotations;
 
- namespace Jellyfin.Data.Entities.Libraries
 
- {
 
-     /// <summary>
 
-     /// An entity containing metadata for an <see cref="Episode"/>.
 
-     /// </summary>
 
-     public class EpisodeMetadata : ItemMetadata
 
-     {
 
-         /// <summary>
 
-         /// Initializes a new instance of the <see cref="EpisodeMetadata"/> class.
 
-         /// </summary>
 
-         /// <param name="title">The title or name of the object.</param>
 
-         /// <param name="language">ISO-639-3 3-character language codes.</param>
 
-         /// <param name="episode">The episode.</param>
 
-         public EpisodeMetadata(string title, string language, Episode episode) : base(title, language)
 
-         {
 
-             if (episode == null)
 
-             {
 
-                 throw new ArgumentNullException(nameof(episode));
 
-             }
 
-             episode.EpisodeMetadata.Add(this);
 
-         }
 
-         /// <summary>
 
-         /// Initializes a new instance of the <see cref="EpisodeMetadata"/> class.
 
-         /// </summary>
 
-         /// <remarks>
 
-         /// Default constructor. Protected due to required properties, but present because EF needs it.
 
-         /// </remarks>
 
-         protected EpisodeMetadata()
 
-         {
 
-         }
 
-         /// <summary>
 
-         /// Gets or sets the outline.
 
-         /// </summary>
 
-         /// <remarks>
 
-         /// Max length = 1024.
 
-         /// </remarks>
 
-         [MaxLength(1024)]
 
-         [StringLength(1024)]
 
-         public string Outline { get; set; }
 
-         /// <summary>
 
-         /// Gets or sets the plot.
 
-         /// </summary>
 
-         /// <remarks>
 
-         /// Max length = 65535.
 
-         /// </remarks>
 
-         [MaxLength(65535)]
 
-         [StringLength(65535)]
 
-         public string Plot { get; set; }
 
-         /// <summary>
 
-         /// Gets or sets the tagline.
 
-         /// </summary>
 
-         /// <remarks>
 
-         /// Max length = 1024.
 
-         /// </remarks>
 
-         [MaxLength(1024)]
 
-         [StringLength(1024)]
 
-         public string Tagline { get; set; }
 
-     }
 
- }
 
 
  |