namespace ERPCore.Dtos.Sales;

public sealed record SalesReportDefinitionDto(
    string Id,
    string Name,
    string Description,
    IReadOnlyList<string> SupportedFilters);

public sealed record SalesReportQueryRequest(
    string ReportType,
    DateOnly From,
    DateOnly To,
    int? ItemId = null,
    int? CustomerId = null,
    int? WarehouseId = null);

public sealed record SalesReportQueryResponse(
    string ReportType,
    DateOnly From,
    DateOnly To,
    IReadOnlyList<object> Rows);
