aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data/Entities/Series.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Data/Entities/Series.cs')
-rw-r--r--Jellyfin.Data/Entities/Series.cs20
1 files changed, 11 insertions, 9 deletions
diff --git a/Jellyfin.Data/Entities/Series.cs b/Jellyfin.Data/Entities/Series.cs
index 4f25c38b75..bede14acfb 100644
--- a/Jellyfin.Data/Entities/Series.cs
+++ b/Jellyfin.Data/Entities/Series.cs
@@ -20,7 +20,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
- /// Public constructor with required data
+ /// Public constructor with required data.
/// </summary>
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
public Series(Guid urlid, DateTime dateadded)
@@ -47,7 +47,7 @@ namespace Jellyfin.Data.Entities
*************************************************************************/
/// <summary>
- /// Backing field for AirsDayOfWeek
+ /// Backing field for AirsDayOfWeek.
/// </summary>
protected DayOfWeek? _AirsDayOfWeek;
/// <summary>
@@ -65,8 +65,9 @@ namespace Jellyfin.Data.Entities
{
DayOfWeek? value = _AirsDayOfWeek;
GetAirsDayOfWeek(ref value);
- return (_AirsDayOfWeek = value);
+ return _AirsDayOfWeek = value;
}
+
set
{
DayOfWeek? oldValue = _AirsDayOfWeek;
@@ -79,7 +80,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
- /// Backing field for AirsTime
+ /// Backing field for AirsTime.
/// </summary>
protected DateTimeOffset? _AirsTime;
/// <summary>
@@ -92,7 +93,7 @@ namespace Jellyfin.Data.Entities
partial void GetAirsTime(ref DateTimeOffset? result);
/// <summary>
- /// The time the show airs, ignore the date portion
+ /// The time the show airs, ignore the date portion.
/// </summary>
public DateTimeOffset? AirsTime
{
@@ -100,8 +101,9 @@ namespace Jellyfin.Data.Entities
{
DateTimeOffset? value = _AirsTime;
GetAirsTime(ref value);
- return (_AirsTime = value);
+ return _AirsTime = value;
}
+
set
{
DateTimeOffset? oldValue = _AirsTime;
@@ -114,7 +116,7 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
- /// Backing field for FirstAired
+ /// Backing field for FirstAired.
/// </summary>
protected DateTimeOffset? _FirstAired;
/// <summary>
@@ -132,8 +134,9 @@ namespace Jellyfin.Data.Entities
{
DateTimeOffset? value = _FirstAired;
GetFirstAired(ref value);
- return (_FirstAired = value);
+ return _FirstAired = value;
}
+
set
{
DateTimeOffset? oldValue = _FirstAired;
@@ -153,7 +156,6 @@ namespace Jellyfin.Data.Entities
[ForeignKey("Season_Seasons_Id")]
public virtual ICollection<Season> Seasons { get; protected set; }
-
}
}