SeasonMetadata.cs 886 B

1234567891011121314151617181920212223242526272829
  1. using System.ComponentModel.DataAnnotations;
  2. namespace Jellyfin.Data.Entities.Libraries
  3. {
  4. /// <summary>
  5. /// An entity that holds metadata for seasons.
  6. /// </summary>
  7. public class SeasonMetadata : ItemMetadata
  8. {
  9. /// <summary>
  10. /// Initializes a new instance of the <see cref="SeasonMetadata"/> class.
  11. /// </summary>
  12. /// <param name="title">The title or name of the object.</param>
  13. /// <param name="language">ISO-639-3 3-character language codes.</param>
  14. public SeasonMetadata(string title, string language) : base(title, language)
  15. {
  16. }
  17. /// <summary>
  18. /// Gets or sets the outline.
  19. /// </summary>
  20. /// <remarks>
  21. /// Max length = 1024.
  22. /// </remarks>
  23. [MaxLength(1024)]
  24. [StringLength(1024)]
  25. public string? Outline { get; set; }
  26. }
  27. }