|
@@ -19,7 +19,7 @@ namespace MTWorkHR.Application.Models
|
|
|
public bool IsOnline { get; set; }
|
|
|
public string? ProfileImage { get; set; }
|
|
|
public string? LastMessage { get; set; }
|
|
|
- public string? LastMessageDate { get; set; }
|
|
|
+ public DateTime? LastMessageDate { get; set; }
|
|
|
public int? UnseenCount { get; set; }
|
|
|
public ChatUserDto(string someId, string someName, string someConnId)
|
|
|
{
|
|
@@ -28,7 +28,7 @@ namespace MTWorkHR.Application.Models
|
|
|
ConnectionId = someConnId;
|
|
|
}
|
|
|
|
|
|
- public ChatUserDto(string userId, string userName, string ConnId, string email, bool isOnline, string profileImg, int? unseenCount,string lastMessage, string lastMessageDate)
|
|
|
+ public ChatUserDto(string userId, string userName, string ConnId, string email, bool isOnline, string profileImg, int? unseenCount,string lastMessage, DateTime? lastMessageDate)
|
|
|
{
|
|
|
UserId = userId;
|
|
|
UserName = userName;
|