aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/DTO/UserDto.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/DTO/UserDto.cs')
-rw-r--r--MediaBrowser.Model/DTO/UserDto.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/MediaBrowser.Model/DTO/UserDto.cs b/MediaBrowser.Model/DTO/UserDto.cs
index cfdba14fb..979422dbe 100644
--- a/MediaBrowser.Model/DTO/UserDto.cs
+++ b/MediaBrowser.Model/DTO/UserDto.cs
@@ -10,7 +10,7 @@ namespace MediaBrowser.Model.Dto
/// Class UserDto
/// </summary>
[ProtoContract]
- public class UserDto : INotifyPropertyChanged
+ public class UserDto : INotifyPropertyChanged, IItemDto
{
/// <summary>
/// Gets or sets the name.
@@ -62,6 +62,13 @@ namespace MediaBrowser.Model.Dto
public UserConfiguration Configuration { get; set; }
/// <summary>
+ /// Gets or sets the primary image aspect ratio.
+ /// </summary>
+ /// <value>The primary image aspect ratio.</value>
+ [ProtoMember(8)]
+ public double? PrimaryImageAspectRatio { get; set; }
+
+ /// <summary>
/// Gets a value indicating whether this instance has primary image.
/// </summary>
/// <value><c>true</c> if this instance has primary image; otherwise, <c>false</c>.</value>