You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.3 KiB

  1. using Common.Models.Enums;
  2. using Newtonsoft.Json;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace Common.Models.Notification
  9. {
  10. //public class NotificationViewModel
  11. //{
  12. // public List<DeviceTokenViewModel> DeviceToken { get; set; }
  13. // public NotificationDTO Notification { get; set; }
  14. // public bool IsBulkNotification { get; set; }
  15. //}
  16. public class RecipientViewModel
  17. {
  18. public string Address { get; set; }
  19. public string CcAddress { get; set; }
  20. public string BccAddress { get; set; }
  21. public string DeviceType { get; set; }
  22. public DisplayMailAddress MailAddress { get; set; }
  23. public NotificationDTO NotificationContent { get; set; }
  24. public int BroadCastNoticeId { get; set; }
  25. }
  26. //public class NotificationDTO
  27. //{
  28. // [JsonProperty("body")]
  29. // public string Body { get; set; }
  30. // [JsonProperty("title")]
  31. // public string Title { get; set; }
  32. // [JsonProperty("image")]
  33. // public string Image { get; set; }
  34. //}
  35. public class FireBaseLogResponseViewModel
  36. {
  37. public string Response { get; set; }
  38. public string Data { get; set; }
  39. }
  40. }