-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
08a70ab
commit bd51b69
Showing
65 changed files
with
2,477 additions
and
4,877 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
...otificationManagement.Application.Contracts/Notifications/Dtos/PagingNotificationInput.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
namespace Lion.AbpPro.NotificationManagement.Notifications.Dtos | ||
{ | ||
public class PagingNotificationInput : PagingBase | ||
{ | ||
/// <summary> | ||
/// 标题 | ||
/// </summary> | ||
public string Title { get; set; } | ||
|
||
|
||
/// <summary> | ||
/// 内容 | ||
/// </summary> | ||
public string Content { get; set; } | ||
|
||
/// <summary> | ||
/// 发送者Id | ||
/// </summary> | ||
public Guid? SenderUserId { get; set; } | ||
|
||
/// <summary> | ||
/// 发送者名称 | ||
/// </summary> | ||
public string SenderUserName { get; set; } | ||
|
||
/// <summary> | ||
/// 接受者Id | ||
/// </summary> | ||
public Guid? ReceiverUserId { get; set; } | ||
|
||
/// <summary> | ||
/// 接受者名称 | ||
/// </summary> | ||
public string ReceiverUserName { get; set; } | ||
|
||
/// <summary> | ||
/// 是否已读 | ||
/// </summary> | ||
public bool? Read { get; set; } | ||
|
||
/// <summary> | ||
/// 已读开始时间 | ||
/// </summary> | ||
public DateTime? StartReadTime { get; set; } | ||
|
||
/// <summary> | ||
/// 已读结束时间 | ||
/// </summary> | ||
public DateTime? EndReadTime { get; set; } | ||
|
||
/// <summary> | ||
/// 消息类型 | ||
/// </summary> | ||
public MessageType? MessageType { get; set; } | ||
} | ||
} |
8 changes: 0 additions & 8 deletions
8
...icationManagement.Application.Contracts/Notifications/Dtos/PagingNotificationListInput.cs
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
...cationManagement.Application.Contracts/Notifications/Dtos/PagingNotificationListOutput.cs
This file was deleted.
Oops, something went wrong.
70 changes: 70 additions & 0 deletions
70
...tificationManagement.Application.Contracts/Notifications/Dtos/PagingNotificationOutput.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
namespace Lion.AbpPro.NotificationManagement.Notifications.Dtos | ||
{ | ||
public class PagingNotificationOutput | ||
{ | ||
public Guid Id { get; set; } | ||
|
||
/// <summary> | ||
/// 租户id | ||
/// </summary> | ||
public Guid? TenantId { get; set; } | ||
|
||
/// <summary> | ||
/// 消息标题 | ||
/// </summary> | ||
public string Title { get; set; } | ||
|
||
/// <summary> | ||
/// 消息内容 | ||
/// </summary> | ||
public string Content { get; set; } | ||
|
||
/// <summary> | ||
/// 消息类型 | ||
/// </summary> | ||
public MessageType MessageType { get; set; } | ||
|
||
public string MessageTypeName => MessageType.ToDescription(); | ||
|
||
/// <summary> | ||
/// 消息等级 | ||
/// </summary> | ||
public MessageLevel MessageLevel { get; set; } | ||
public string MessageLevelName => MessageLevel.ToDescription(); | ||
|
||
/// <summary> | ||
/// 发送人 | ||
/// </summary> | ||
public Guid SenderUserId { get; set; } | ||
|
||
/// <summary> | ||
/// 发送人用户名 | ||
/// </summary> | ||
public string SenderUserName { get; set; } | ||
|
||
/// <summary> | ||
/// 订阅人 | ||
/// 消息类型是广播消息时,订阅人为空 | ||
/// </summary> | ||
public Guid? ReceiveUserId { get; set; } | ||
|
||
|
||
/// <summary> | ||
/// 接收人用户名 | ||
/// 消息类型是广播消息时,订接收人用户名为空 | ||
/// </summary> | ||
public string ReceiveUserName { get; set; } | ||
|
||
/// <summary> | ||
/// 是否已读 | ||
/// </summary> | ||
public bool Read { get; set; } | ||
|
||
/// <summary> | ||
/// 已读时间 | ||
/// </summary> | ||
public DateTime? ReadTime { get; set; } | ||
|
||
public DateTime CreationTime { get; set; } | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...anagement.Application.Contracts/Notifications/Dtos/PagingNotificationSubscriptionInput.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
namespace Lion.AbpPro.NotificationManagement.Notifications.Dtos | ||
{ | ||
public class PagingNotificationSubscriptionInput : PagingBase | ||
{ | ||
|
||
public Guid NotificationId { get; set; } | ||
|
||
|
||
/// <summary> | ||
/// 接受者Id | ||
/// </summary> | ||
public Guid? ReceiverUserId { get; set; } | ||
|
||
/// <summary> | ||
/// 接受者名称 | ||
/// </summary> | ||
public string ReceiverUserName { get; set; } | ||
|
||
/// <summary> | ||
/// 是否已读 | ||
/// </summary> | ||
public bool? Read { get; set; } | ||
|
||
/// <summary> | ||
/// 已读开始时间 | ||
/// </summary> | ||
public DateTime? StartReadTime { get; set; } | ||
|
||
/// <summary> | ||
/// 已读结束时间 | ||
/// </summary> | ||
public DateTime? EndReadTime { get; set; } | ||
} | ||
} |
70 changes: 70 additions & 0 deletions
70
...nagement.Application.Contracts/Notifications/Dtos/PagingNotificationSubscriptionOutput.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
namespace Lion.AbpPro.NotificationManagement.Notifications.Dtos | ||
{ | ||
public class PagingNotificationSubscriptionOutput | ||
{ | ||
public Guid Id { get; set; } | ||
|
||
/// <summary> | ||
/// 租户id | ||
/// </summary> | ||
public Guid? TenantId { get; set; } | ||
|
||
/// <summary> | ||
/// 消息Id | ||
/// </summary> | ||
public Guid NotificationId { get; set; } | ||
|
||
/// <summary> | ||
/// 接收人id | ||
/// </summary> | ||
public Guid ReceiveUserId { get; set; } | ||
|
||
/// <summary> | ||
/// 接收人用户名 | ||
/// </summary> | ||
public string ReceiveUserName { get; set; } | ||
|
||
/// <summary> | ||
/// 是否已读 | ||
/// </summary> | ||
public bool Read { get; set; } | ||
|
||
/// <summary> | ||
/// 已读时间 | ||
/// </summary> | ||
public DateTime ReadTime { get; set; } | ||
|
||
/// <summary> | ||
/// 消息标题 | ||
/// </summary> | ||
public string Title { get; set; } | ||
|
||
/// <summary> | ||
/// 消息内容 | ||
/// </summary> | ||
public string Content { get; set; } | ||
|
||
/// <summary> | ||
/// 消息类型 | ||
/// </summary> | ||
public MessageType MessageType { get; set; } | ||
|
||
public string MessageTypeName => MessageType.ToDescription(); | ||
|
||
/// <summary> | ||
/// 消息等级 | ||
/// </summary> | ||
public MessageLevel MessageLevel { get; set; } | ||
public string MessageLevelName => MessageLevel.ToDescription(); | ||
|
||
/// <summary> | ||
/// 发送人 | ||
/// </summary> | ||
public Guid SenderUserId { get; set; } | ||
|
||
/// <summary> | ||
/// 发送人用户名 | ||
/// </summary> | ||
public string SenderUserName { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.