aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Notifications/Notification.cs
blob: 731c3d3035a0b12c579cb676ed8b77ee31ef1c1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;

namespace MediaBrowser.Model.Notifications
{
    public class Notification
    {
        public string Id { get; set; }

        public string UserId { get; set; }

        public DateTime Date { get; set; }

        public bool IsRead { get; set; }

        public string Name { get; set; }

        public string Description { get; set; }

        public string Url { get; set; }

        public NotificationLevel Level { get; set; }

        public Notification()
        {
            Date = DateTime.UtcNow;
        }
    }
}