using System; using System.Collections.Generic; namespace FrameworkDAL.DTO.MessageHub.MessageHubGenerator { public class MessageHubExecutionResultDTO { // Indicates overall success of message hub generation public bool Success { get; set; } // General error message if generation failed public string? ErrorMessage { get; set; } // All individual messages sent or attempted public List Results { get; set; } = new(); // Optional: The raw payload/body sent to platform (like Celitix/WhatsApp) public object? Body { get; set; } // Optional: Any error content returned from platform public object? ErrorBody { get; set; } // Optional: Full raw response object from platform public object? ResponseObject { get; set; } } public class MessageDetailDTO { public string? MessageText { get; set; } public object? PayloadSent { get; set; } public object? ApiResponse { get; set; } public string? Mode { get; set; } public string? SentBy { get; set; } public int? ClientId { get; set; } public int? UserId { get; set; } public DateTime? Time { get; set; } } }