diff options
Diffstat (limited to 'Jellyfin.Data/Entities/AccessSchedule.cs')
| -rw-r--r-- | Jellyfin.Data/Entities/AccessSchedule.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Jellyfin.Data/Entities/AccessSchedule.cs b/Jellyfin.Data/Entities/AccessSchedule.cs index 4248a34c9c..15c4e4cded 100644 --- a/Jellyfin.Data/Entities/AccessSchedule.cs +++ b/Jellyfin.Data/Entities/AccessSchedule.cs @@ -2,6 +2,7 @@ using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text.Json.Serialization; +using System.Xml.Serialization; using Jellyfin.Data.Enums; namespace Jellyfin.Data.Entities @@ -40,7 +41,7 @@ namespace Jellyfin.Data.Entities /// <remarks> /// Identity, Indexed, Required. /// </remarks> - [JsonIgnore] + [XmlIgnore] [Key] [Required] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] @@ -49,6 +50,7 @@ namespace Jellyfin.Data.Entities /// <summary> /// Gets or sets the id of the associated user. /// </summary> + [XmlIgnore] [Required] [ForeignKey("Id")] public Guid UserId { get; protected set; } |
