mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-29 19:11:00 +01:00
Migrate Display Preferences to EF Core
This commit is contained in:
21
Jellyfin.Data/Entities/HomeSection.cs
Normal file
21
Jellyfin.Data/Entities/HomeSection.cs
Normal file
@@ -0,0 +1,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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user