aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data/Entities/HomeSection.cs
blob: f39956a54e0e5441e2971feb575484cc932b8f11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Jellyfin.Data.Enums;

namespace Jellyfin.Data.Entities
{
    public class HomeSection
    {
        [Key]
        [Required]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; protected set; }

        public int DisplayPreferencesId { get; set; }

        public int Order { get; set; }

        public HomeSectionType Type { get; set; }
    }
}