Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Notification : NotificationBase
- {
- public string Descriminator { get; private set; }
- public bool IsRead { get; private set; }
- public int ItemId { get; private set; }
- public NotificationType Type { get; private set; }
- public Notification()
- {
- //EF
- }
- public Notification(
- int userId,
- string message,
- int itemId,
- NotificationType notificationType
- )
- : base(
- userId,
- message)
- {
- ItemId = itemId;
- Type = notificationType;
- }
- public void Readed() => IsRead = true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement