Remove superfluous annotations.

This commit is contained in:
Patrick Barron 2020-07-17 16:27:34 -04:00
parent 2831062a3f
commit d806084937
2 changed files with 0 additions and 9 deletions

View File

@ -39,7 +39,6 @@ namespace Jellyfin.Data.Entities
/// <remarks> /// <remarks>
/// Required. /// Required.
/// </remarks> /// </remarks>
[Required]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)] [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; protected set; } public int Id { get; protected set; }
@ -49,7 +48,6 @@ namespace Jellyfin.Data.Entities
/// <remarks> /// <remarks>
/// Required. /// Required.
/// </remarks> /// </remarks>
[Required]
public Guid UserId { get; set; } public Guid UserId { get; set; }
/// <summary> /// <summary>
@ -78,7 +76,6 @@ namespace Jellyfin.Data.Entities
/// <remarks> /// <remarks>
/// Required. /// Required.
/// </remarks> /// </remarks>
[Required]
public bool RememberIndexing { get; set; } public bool RememberIndexing { get; set; }
/// <summary> /// <summary>
@ -87,7 +84,6 @@ namespace Jellyfin.Data.Entities
/// <remarks> /// <remarks>
/// Required. /// Required.
/// </remarks> /// </remarks>
[Required]
public bool RememberSorting { get; set; } public bool RememberSorting { get; set; }
/// <summary> /// <summary>
@ -96,7 +92,6 @@ namespace Jellyfin.Data.Entities
/// <remarks> /// <remarks>
/// Required. /// Required.
/// </remarks> /// </remarks>
[Required]
public SortOrder SortOrder { get; set; } public SortOrder SortOrder { get; set; }
/// <summary> /// <summary>
@ -105,7 +100,6 @@ namespace Jellyfin.Data.Entities
/// <remarks> /// <remarks>
/// Required. /// Required.
/// </remarks> /// </remarks>
[Required]
public bool ShowSidebar { get; set; } public bool ShowSidebar { get; set; }
/// <summary> /// <summary>
@ -114,7 +108,6 @@ namespace Jellyfin.Data.Entities
/// <remarks> /// <remarks>
/// Required. /// Required.
/// </remarks> /// </remarks>
[Required]
public bool ShowBackdrop { get; set; } public bool ShowBackdrop { get; set; }
/// <summary> /// <summary>
@ -135,7 +128,6 @@ namespace Jellyfin.Data.Entities
/// <remarks> /// <remarks>
/// Required. /// Required.
/// </remarks> /// </remarks>
[Required]
public ScrollDirection ScrollDirection { get; set; } public ScrollDirection ScrollDirection { get; set; }
/// <summary> /// <summary>

View File

@ -16,7 +16,6 @@ namespace Jellyfin.Data.Entities
/// Identity. Required. /// Identity. Required.
/// </remarks> /// </remarks>
[Key] [Key]
[Required]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)] [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; protected set; } public int Id { get; protected set; }