|
@@ -1,5 +1,6 @@
|
|
#pragma warning disable CA1711 // Identifiers should not have incorrect suffix
|
|
#pragma warning disable CA1711 // Identifiers should not have incorrect suffix
|
|
|
|
|
|
|
|
+using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Jellyfin.Data.Enums;
|
|
using Jellyfin.Data.Enums;
|
|
@@ -33,6 +34,11 @@ namespace Jellyfin.Data.Entities
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int Id { get; private set; }
|
|
public int Id { get; private set; }
|
|
|
|
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// Gets or sets the id of the associated user.
|
|
|
|
+ /// </summary>
|
|
|
|
+ public Guid UserId { get; set; }
|
|
|
|
+
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Gets the type of this permission.
|
|
/// Gets the type of this permission.
|
|
/// </summary>
|
|
/// </summary>
|