using Meezi.Core.Enums;

namespace Meezi.API.Models.Delivery;

public record PlatformRevenueDto(
    DeliveryPlatform Platform,
    string PlatformName,
    int OrderCount,
    decimal GrossRevenue,
    decimal Commission,
    decimal NetRevenue);

public record DeliveryRevenueReportDto(
    string PeriodLabel,
    DateTime UtcFrom,
    DateTime UtcTo,
    IReadOnlyList<PlatformRevenueDto> Platforms,
    decimal TotalGross,
    decimal TotalCommission,
    decimal TotalNet);
