namespace Meezi.API.Models.Reports;

public record TopItemDto(string MenuItemId, string Name, int Quantity, decimal Revenue);

public record DailyReportDto(
    string DateJalali,
    int TotalOrders,
    int NewCustomers,
    int ReturningCustomers,
    decimal Revenue,
    decimal TaxTotal,
    decimal DiscountTotal,
    IReadOnlyList<TopItemDto> TopItems);

public record DailyBreakdownDto(string DateJalali, decimal Revenue, decimal Cost);

public record MonthlyReportDto(
    string MonthJalali,
    IReadOnlyList<DailyBreakdownDto> DailyBreakdown,
    decimal TotalRevenue,
    decimal TotalCosts,
    decimal SalaryCosts,
    decimal OtherCosts,
    decimal NetProfit);

public record TrendDayDto(string DateJalali, decimal Revenue, decimal Cost);
