เพิ่มid noti
This commit is contained in:
parent
e91025aece
commit
8f2c9841ef
4 changed files with 5 additions and 1 deletions
|
|
@ -51,6 +51,7 @@ namespace BMA.EHR.Application.Repositories.MessageQueue
|
|||
.OrderByDescending(x => x.ReceiveDate)
|
||||
.Select(x => new InboxResponse
|
||||
{
|
||||
Id = x.Id,
|
||||
Subject = x.Subject,
|
||||
Body = x.Body,
|
||||
ReceiverUserId = x.ReceiverUserId,
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ namespace BMA.EHR.Application.Repositories.MessageQueue
|
|||
.OrderByDescending(x => x.ReceiveDate)
|
||||
.Select(x => new NotificationResponse
|
||||
{
|
||||
Id = x.Id,
|
||||
Body = x.Body,
|
||||
ReceiverUserId = x.ReceiverUserId,
|
||||
IsOpen = x.IsOpen,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
namespace BMA.EHR.Application.Responses.Messages
|
||||
{
|
||||
public class InboxResponse
|
||||
{
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string Subject { get; set; } = string.Empty;
|
||||
|
||||
public string Body { get; set; } = string.Empty;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
public class NotificationResponse
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string Body { get; set; } = string.Empty;
|
||||
|
||||
public Guid ReceiverUserId { get; set; } = Guid.Empty;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue