GetNotificationsOutput.cs 494 B

1234567891011121314151617
  1. using System.Collections.Generic;
  2. using Abp.Application.Services.Dto;
  3. using Abp.Notifications;
  4. namespace WeApp.BaseSystem.Notifications.Dto
  5. {
  6. public class GetNotificationsOutput : PagedResultDto<UserNotification>
  7. {
  8. public int UnreadCount { get; set; }
  9. public GetNotificationsOutput(int totalCount, int unreadCount, List<UserNotification> notifications)
  10. : base(totalCount, notifications)
  11. {
  12. UnreadCount = unreadCount;
  13. }
  14. }
  15. }