UserNotification.cs 782 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using Abp.Application.Services.Dto;
  3. namespace Abp.Notifications
  4. {
  5. /// <summary>
  6. /// Represents a notification sent to a user.
  7. /// </summary>
  8. [Serializable]
  9. public class UserNotification : EntityDto<Guid>, IUserIdentifier
  10. {
  11. /// <summary>
  12. /// TenantId.
  13. /// </summary>
  14. public int? TenantId { get; set; }
  15. /// <summary>
  16. /// User Id.
  17. /// </summary>
  18. public long UserId { get; set; }
  19. /// <summary>
  20. /// Current state of the user notification.
  21. /// </summary>
  22. public UserNotificationState State { get; set; }
  23. /// <summary>
  24. /// The notification.
  25. /// </summary>
  26. public TenantNotification Notification { get; set; }
  27. }
  28. }