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