Migrate Display Preferences to EF Core
This commit is contained in:
@@ -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