// src/SIGCM.Domain/Models/GlobalReportDto.cs
namespace SIGCM.Domain.Models;

public class GlobalReportDto
{
  public DateTime GeneratedAt { get; set; } = DateTime.UtcNow;
  public DateTime FromDate { get; set; }
  public DateTime ToDate { get; set; }
  public decimal TotalRevenue { get; set; }
  public int TotalAds { get; set; }
  public List<ReportItemDto> Items { get; set; } = new();

  // Desglose por método de pago
  public decimal TotalCash { get; set; }
  public decimal TotalDebit { get; set; }
  public decimal TotalCredit { get; set; }
  public decimal TotalTransfer { get; set; }
}

public class ReportItemDto
{
  public int Id { get; set; }
  public DateTime Date { get; set; }
  public string Title { get; set; } = "";
  public string Category { get; set; } = "";
  public string Cashier { get; set; } = "";
  public decimal Amount { get; set; }
  public string Source { get; set; } = "";
  public string? ClientName { get; set; }
}