Merge branch 'develop' into working
This commit is contained in:
commit
d0c93b1d96
4 changed files with 5 additions and 1 deletions
|
|
@ -51,6 +51,7 @@ namespace BMA.EHR.Application.Repositories.MessageQueue
|
||||||
.OrderByDescending(x => x.ReceiveDate)
|
.OrderByDescending(x => x.ReceiveDate)
|
||||||
.Select(x => new InboxResponse
|
.Select(x => new InboxResponse
|
||||||
{
|
{
|
||||||
|
Id = x.Id,
|
||||||
Subject = x.Subject,
|
Subject = x.Subject,
|
||||||
Body = x.Body,
|
Body = x.Body,
|
||||||
ReceiverUserId = x.ReceiverUserId,
|
ReceiverUserId = x.ReceiverUserId,
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,7 @@ namespace BMA.EHR.Application.Repositories.MessageQueue
|
||||||
.OrderByDescending(x => x.ReceiveDate)
|
.OrderByDescending(x => x.ReceiveDate)
|
||||||
.Select(x => new NotificationResponse
|
.Select(x => new NotificationResponse
|
||||||
{
|
{
|
||||||
|
Id = x.Id,
|
||||||
Body = x.Body,
|
Body = x.Body,
|
||||||
ReceiverUserId = x.ReceiverUserId,
|
ReceiverUserId = x.ReceiverUserId,
|
||||||
IsOpen = x.IsOpen,
|
IsOpen = x.IsOpen,
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
{
|
{
|
||||||
public class InboxResponse
|
public class InboxResponse
|
||||||
{
|
{
|
||||||
|
public Guid Id { get; set; }
|
||||||
public string Subject { get; set; } = string.Empty;
|
public string Subject { get; set; } = string.Empty;
|
||||||
|
|
||||||
public string Body { get; set; } = string.Empty;
|
public string Body { get; set; } = string.Empty;
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
{
|
{
|
||||||
public class NotificationResponse
|
public class NotificationResponse
|
||||||
{
|
{
|
||||||
|
public Guid Id { get; set; }
|
||||||
public string Body { get; set; } = string.Empty;
|
public string Body { get; set; } = string.Empty;
|
||||||
|
|
||||||
public Guid ReceiverUserId { get; set; } = Guid.Empty;
|
public Guid ReceiverUserId { get; set; } = Guid.Empty;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue