From d8060849376ae8e1cf309b04e01a24bdc6089c58 Mon Sep 17 00:00:00 2001 From: Patrick Barron Date: Fri, 17 Jul 2020 16:27:34 -0400 Subject: [PATCH] Remove superfluous annotations. --- Jellyfin.Data/Entities/DisplayPreferences.cs | 8 -------- Jellyfin.Data/Entities/HomeSection.cs | 1 - 2 files changed, 9 deletions(-) diff --git a/Jellyfin.Data/Entities/DisplayPreferences.cs b/Jellyfin.Data/Entities/DisplayPreferences.cs index 6bc6b7de1..6cefda788 100644 --- a/Jellyfin.Data/Entities/DisplayPreferences.cs +++ b/Jellyfin.Data/Entities/DisplayPreferences.cs @@ -39,7 +39,6 @@ namespace Jellyfin.Data.Entities /// /// Required. /// - [Required] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; protected set; } @@ -49,7 +48,6 @@ namespace Jellyfin.Data.Entities /// /// Required. /// - [Required] public Guid UserId { get; set; } /// @@ -78,7 +76,6 @@ namespace Jellyfin.Data.Entities /// /// Required. /// - [Required] public bool RememberIndexing { get; set; } /// @@ -87,7 +84,6 @@ namespace Jellyfin.Data.Entities /// /// Required. /// - [Required] public bool RememberSorting { get; set; } /// @@ -96,7 +92,6 @@ namespace Jellyfin.Data.Entities /// /// Required. /// - [Required] public SortOrder SortOrder { get; set; } /// @@ -105,7 +100,6 @@ namespace Jellyfin.Data.Entities /// /// Required. /// - [Required] public bool ShowSidebar { get; set; } /// @@ -114,7 +108,6 @@ namespace Jellyfin.Data.Entities /// /// Required. /// - [Required] public bool ShowBackdrop { get; set; } /// @@ -135,7 +128,6 @@ namespace Jellyfin.Data.Entities /// /// Required. /// - [Required] public ScrollDirection ScrollDirection { get; set; } /// diff --git a/Jellyfin.Data/Entities/HomeSection.cs b/Jellyfin.Data/Entities/HomeSection.cs index 1a59cda53..062046260 100644 --- a/Jellyfin.Data/Entities/HomeSection.cs +++ b/Jellyfin.Data/Entities/HomeSection.cs @@ -16,7 +16,6 @@ namespace Jellyfin.Data.Entities /// Identity. Required. /// [Key] - [Required] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; protected set; }