diff options
| author | LukePulverenti <luke.pulverenti@gmail.com> | 2013-03-08 11:40:01 -0500 |
|---|---|---|
| committer | LukePulverenti <luke.pulverenti@gmail.com> | 2013-03-08 11:40:01 -0500 |
| commit | dbf6081a9b5eb80cc96e0551e5631e2b1890a14c (patch) | |
| tree | df68304f099e65d90ccf986c1572c87777001d69 /MediaBrowser.Model/DTO/UserDto.cs | |
| parent | 6ff65ba2781d23fef3a4b042f3fca4ac1aeb7375 (diff) | |
Add PrimaryImageAspectRatio to user dto
Diffstat (limited to 'MediaBrowser.Model/DTO/UserDto.cs')
| -rw-r--r-- | MediaBrowser.Model/DTO/UserDto.cs | 9 |
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> |
