ChatMessageDto.cs 615 B

12345678910111213141516171819202122232425
  1. using MTWorkHR.Core.Entities.Base;
  2. using MTWorkHR.Core.Entities;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace MTWorkHR.Application.Models
  9. {
  10. public class ChatMessageDto
  11. {
  12. public string SenderId { get; set; }
  13. public string SenderName { get; set; }
  14. public string ReceiverId { get; set; }
  15. public string ReceiverName { get; set; }
  16. public string Content { get; set; }
  17. public bool IsSeen { get; set; }
  18. public List<ChatAttachment>? ChatAttachments { get; set; }
  19. }
  20. }