aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data/Entities/Libraries/SeasonMetadata.cs
blob: da40a075f599579d49db729601072a61be6707c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System.ComponentModel.DataAnnotations;

namespace Jellyfin.Data.Entities.Libraries
{
    /// <summary>
    /// An entity that holds metadata for seasons.
    /// </summary>
    public class SeasonMetadata : ItemMetadata
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="SeasonMetadata"/> class.
        /// </summary>
        /// <param name="title">The title or name of the object.</param>
        /// <param name="language">ISO-639-3 3-character language codes.</param>
        public SeasonMetadata(string title, string language) : base(title, language)
        {
        }

        /// <summary>
        /// Gets or sets the outline.
        /// </summary>
        /// <remarks>
        /// Max length = 1024.
        /// </remarks>
        [MaxLength(1024)]
        [StringLength(1024)]
        public string? Outline { get; set; }
    }
}