diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-11-25 15:39:23 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-11-25 15:39:23 -0500 |
| commit | a641059c571d9596baa814a01a85546e3a4b5b50 (patch) | |
| tree | 0f1add9b700dfda818128dd8840bb01f680311bd /MediaBrowser.Controller/LiveTv/ProgramInfo.cs | |
| parent | 4054846a6e2ac93a082a22e03f183296a27a0cba (diff) | |
display programs on channel page
Diffstat (limited to 'MediaBrowser.Controller/LiveTv/ProgramInfo.cs')
| -rw-r--r-- | MediaBrowser.Controller/LiveTv/ProgramInfo.cs | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/LiveTv/ProgramInfo.cs b/MediaBrowser.Controller/LiveTv/ProgramInfo.cs new file mode 100644 index 000000000..8314b9170 --- /dev/null +++ b/MediaBrowser.Controller/LiveTv/ProgramInfo.cs @@ -0,0 +1,49 @@ +using System; +using System.Collections.Generic; + +namespace MediaBrowser.Controller.LiveTv +{ + public class ProgramInfo + { + /// <summary> + /// Id of the program. + /// </summary> + public string Id { get; set; } + + /// <summary> + /// Gets or sets the channel identifier. + /// </summary> + /// <value>The channel identifier.</value> + public string ChannelId { get; set; } + + /// <summary> + /// Name of the program + /// </summary> + public string Name { get; set; } + + /// <summary> + /// Description of the progam. + /// </summary> + public string Description { get; set; } + + /// <summary> + /// The start date of the program, in UTC. + /// </summary> + public DateTime StartDate { get; set; } + + /// <summary> + /// The end date of the program, in UTC. + /// </summary> + public DateTime EndDate { get; set; } + + /// <summary> + /// Genre of the program. + /// </summary> + public List<string> Genres { get; set; } + + public ProgramInfo() + { + Genres = new List<string>(); + } + } +} |
