32 lines
864 B
C#
32 lines
864 B
C#
using ManagerService.Data;
|
|
using System;
|
|
|
|
namespace ManagerService.DTOs
|
|
{
|
|
public class PushNotificationDTO
|
|
{
|
|
public string? id { get; set; }
|
|
public string instanceId { get; set; }
|
|
public string title { get; set; }
|
|
public string body { get; set; }
|
|
public string topic { get; set; }
|
|
public PushNotificationStatus status { get; set; }
|
|
public DateTime? scheduledAt { get; set; }
|
|
public DateTime? sentAt { get; set; }
|
|
public DateTime dateCreation { get; set; }
|
|
}
|
|
|
|
public class SendNotificationDTO
|
|
{
|
|
public string title { get; set; }
|
|
public string body { get; set; }
|
|
}
|
|
|
|
public class ScheduleNotificationDTO
|
|
{
|
|
public string title { get; set; }
|
|
public string body { get; set; }
|
|
public DateTime scheduledAt { get; set; }
|
|
}
|
|
}
|