using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Jellyfin.Data.Enums; namespace Jellyfin.Data.Entities { /// /// An entity representing a section on the user's home page. /// public class HomeSection { /// /// Gets or sets the id. /// /// /// Identity. Required. /// [Key] [Required] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; protected set; } /// /// Gets or sets the Id of the associated display preferences. /// public int DisplayPreferencesId { get; set; } /// /// Gets or sets the order. /// public int Order { get; set; } /// /// Gets or sets the type. /// public HomeSectionType Type { get; set; } } }