2023-09-11 13:53:53 +07:00
|
|
|
|
namespace BMA.EHR.Application.Responses.Messages
|
|
|
|
|
|
{
|
|
|
|
|
|
public class NotificationResponse
|
|
|
|
|
|
{
|
2023-09-11 15:45:31 +07:00
|
|
|
|
public Guid Id { get; set; }
|
2023-09-11 13:53:53 +07:00
|
|
|
|
public string Body { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
|
|
public Guid ReceiverUserId { get; set; } = Guid.Empty;
|
|
|
|
|
|
|
2024-05-21 19:41:55 +07:00
|
|
|
|
public string? KeycloakUserId { get; set; }
|
2024-05-21 14:31:29 +07:00
|
|
|
|
|
2023-09-11 13:53:53 +07:00
|
|
|
|
public string Type { get; set; } = "TEXT";
|
|
|
|
|
|
|
2024-10-18 16:11:47 +07:00
|
|
|
|
public string Payload { get; set; } = string.Empty;
|
2023-09-11 13:53:53 +07:00
|
|
|
|
|
|
|
|
|
|
public bool IsOpen { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime ReceiveDate { get; set; } = DateTime.Now;
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? OpenDate { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|