namespace Predictalytics.Application.DTOs;

public class MarketDetailDto
{
    public int Id { get; set; }
    public string Platform { get; set; } = "";
    public string PlatformMarketId { get; set; } = "";
    public string Question { get; set; } = "";
    public string? Description { get; set; }
    public string Category { get; set; } = "";
    public string Subcategory { get; set; } = "";
    public double Volume { get; set; }
    public double Liquidity { get; set; }
    public DateTime? EndDate { get; set; }
    public bool IsResolved { get; set; }
    public string? ResolutionOutcome { get; set; }
    public string? ImageUrl { get; set; }
    
    public decimal BotActivityScore { get; set; }
    public int UniqueTradersCount { get; set; }
    public decimal AverageTradeSize { get; set; }

    public IReadOnlyList<MarketOutcomeDto> Outcomes { get; set; } = new List<MarketOutcomeDto>();
    public IReadOnlyList<TradeDto> RecentTrades { get; set; } = new List<TradeDto>();
}

public class MarketOutcomeDto
{
    public string Name { get; set; } = "";
    public double Price { get; set; }
}
