using System.ComponentModel.DataAnnotations;
namespace Jellyfin.Data.Entities.Libraries
{
///
/// An entity holding metadata for a .
///
public class CompanyMetadata : ItemMetadata
{
///
/// Initializes a new instance of the class.
///
/// The title or name of the object.
/// ISO-639-3 3-character language codes.
public CompanyMetadata(string title, string language) : base(title, language)
{
}
///
/// Gets or sets the description.
///
///
/// Max length = 65535.
///
[MaxLength(65535)]
[StringLength(65535)]
public string? Description { get; set; }
///
/// Gets or sets the headquarters.
///
///
/// Max length = 255.
///
[MaxLength(255)]
[StringLength(255)]
public string? Headquarters { get; set; }
///
/// Gets or sets the country code.
///
///
/// Max length = 2.
///
[MaxLength(2)]
[StringLength(2)]
public string? Country { get; set; }
///
/// Gets or sets the homepage.
///
///
/// Max length = 1024.
///
[MaxLength(1024)]
[StringLength(1024)]
public string? Homepage { get; set; }
}
}