using System;
using EventsAppQuest.Web.Communication.Core;

namespace EventsAppQuest.Web.Communication.Domain
{
    /// <summary>
    /// Mensagem numa thread de comunicação operacional.
    /// </summary>
    [Serializable]
    public class CommunicationMessage
    {
        public string Id;
        public string ThreadId;
        /// <summary>Pedido associado (para filtro rápido).</summary>
        public string OrderId;
        public CommunicationParticipantRole SenderRole;
        public CommunicationMessageType MessageType;
        public string Content;
        public DateTime CreatedAt;
    }
}
