namespace FrameworkDAL.DTO.EIPConversation { /// Maps TEIPCONVERSATION — the header row grouping every message exchanged /// within one interaction session's channel thread. public class EIPConversationLogDTO { public int ConversationId { get; set; } public int TenantId { get; set; } public int InteractionSessionId { get; set; } /// 0=Postman, 1=WhatsApp, 2=Teams, 3=Telegram, 4=Slack, 5=SMS public byte ChannelType { get; set; } public string SessionToken { get; set; } = string.Empty; public int CreatedById { get; set; } public int ModifiedById { get; set; } } /// Maps TEIPCONVERSATIONDETAIL — one row per inbound or outbound message. public class EIPConversationDetailDTO { public int ConversationDetailId { get; set; } public int ConversationId { get; set; } /// 1=Inbound (user→EIP), 2=Outbound (EIP→user) public byte Direction { get; set; } public string Message { get; set; } = string.Empty; } }