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]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; protected 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; }
    }
}