diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-14 01:36:36 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-14 01:36:36 -0400 |
| commit | ae4c4c6ce50c03d0e7bcfe1d2b6eca715dd2f0ff (patch) | |
| tree | d7b215c00f3796b0dbd5569f562a0e1b2b4a511b /MediaBrowser.Model | |
| parent | c2be2238281623d567b2083ec995b1f09c66a722 (diff) | |
#247 - Web client - Hide views that have no content
Diffstat (limited to 'MediaBrowser.Model')
| -rw-r--r-- | MediaBrowser.Model/Dto/ItemCounts.cs | 45 | ||||
| -rw-r--r-- | MediaBrowser.Model/MediaBrowser.Model.csproj | 1 |
2 files changed, 46 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Dto/ItemCounts.cs b/MediaBrowser.Model/Dto/ItemCounts.cs new file mode 100644 index 000000000..7f0a91e91 --- /dev/null +++ b/MediaBrowser.Model/Dto/ItemCounts.cs @@ -0,0 +1,45 @@ + +namespace MediaBrowser.Model.Dto +{ + /// <summary> + /// Class LibrarySummary + /// </summary> + public class ItemCounts + { + /// <summary> + /// Gets or sets the movie count. + /// </summary> + /// <value>The movie count.</value> + public int MovieCount { get; set; } + /// <summary> + /// Gets or sets the series count. + /// </summary> + /// <value>The series count.</value> + public int SeriesCount { get; set; } + /// <summary> + /// Gets or sets the episode count. + /// </summary> + /// <value>The episode count.</value> + public int EpisodeCount { get; set; } + /// <summary> + /// Gets or sets the game count. + /// </summary> + /// <value>The game count.</value> + public int GameCount { get; set; } + /// <summary> + /// Gets or sets the trailer count. + /// </summary> + /// <value>The trailer count.</value> + public int TrailerCount { get; set; } + /// <summary> + /// Gets or sets the song count. + /// </summary> + /// <value>The song count.</value> + public int SongCount { get; set; } + /// <summary> + /// Gets or sets the album count. + /// </summary> + /// <value>The album count.</value> + public int AlbumCount { get; set; } + } +} diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj index dc7f09f2d..bc70dbc13 100644 --- a/MediaBrowser.Model/MediaBrowser.Model.csproj +++ b/MediaBrowser.Model/MediaBrowser.Model.csproj @@ -47,6 +47,7 @@ <Compile Include="Dto\IItemDto.cs" /> <Compile Include="Dto\ImageInfo.cs" /> <Compile Include="Dto\ItemByNameCounts.cs" /> + <Compile Include="Dto\ItemCounts.cs" /> <Compile Include="Dto\StudioDto.cs" /> <Compile Include="Entities\IByReferenceItem.cs" /> <Compile Include="Entities\ItemReview.cs" /> |
