ChatMessage.cs 685 B

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