Notification.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated from a template.
  4. //
  5. // Manual changes to this file may cause unexpected behavior in your application.
  6. // Manual changes to this file will be overwritten if the code is regenerated.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. namespace Foghorn.Core
  10. {
  11. using System;
  12. using System.Collections.Generic;
  13. public partial class Notification
  14. {
  15. public Notification()
  16. {
  17. this.Priority = 0;
  18. this.Sticky = false;
  19. this.SentToSubscribers = new HashSet<Subscriber>();
  20. }
  21. public int NotificationId { get; set; }
  22. public string NotificationTitle { get; set; }
  23. public string NotificationMessage { get; set; }
  24. public System.DateTime SentDateTime { get; set; }
  25. public int Priority { get; set; }
  26. public bool Sticky { get; set; }
  27. public virtual ICollection<Subscriber> SentToSubscribers { get; set; }
  28. public virtual NotificationType NotificationType { get; set; }
  29. }
  30. }