Gestita pagina notifiche
This commit is contained in:
37
salesbook.Shared/Core/Entity/WtbNotification.cs
Normal file
37
salesbook.Shared/Core/Entity/WtbNotification.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using salesbook.Shared.Core.Dto;
|
||||
|
||||
namespace salesbook.Shared.Core.Entity;
|
||||
|
||||
public class WtbNotification
|
||||
{
|
||||
[JsonPropertyName("id")]
|
||||
public long Id { get; set; }
|
||||
|
||||
[JsonPropertyName("title")]
|
||||
public string? Title { get; set; }
|
||||
|
||||
[JsonPropertyName("body")]
|
||||
public string? Body { get; set; }
|
||||
|
||||
[JsonPropertyName("imageUrl")]
|
||||
public string? ImageUrl { get; set; }
|
||||
|
||||
[JsonPropertyName("notificationData")]
|
||||
public NotificationDataDTO? NotificationData { get; set; }
|
||||
|
||||
[JsonPropertyName("startDate")]
|
||||
public DateTime? StartDate { get; set; }
|
||||
|
||||
[JsonPropertyName("endDate")]
|
||||
public DateTime? EndDate { get; set; }
|
||||
|
||||
[JsonPropertyName("persistent")]
|
||||
public bool? Persistent { get; set; }
|
||||
|
||||
[JsonPropertyName("topics")]
|
||||
public List<string>? Topics { get; set; }
|
||||
|
||||
[JsonPropertyName("wtbDeviceNotifications")]
|
||||
public List<WtbDeviceNotification>? WtbDeviceNotifications { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user