2024-04-22 13:33:39 +03:30
|
|
|
|
namespace Netina.Domain.CommandQueries.Queries;
|
2023-12-20 10:37:44 +03:30
|
|
|
|
|
|
|
|
|
|
|
2024-02-15 10:39:00 +03:30
|
|
|
|
public sealed record GetProductQuery(Guid Id) : IRequest<GetProductResponseDto>;
|
2024-02-04 16:38:23 +03:30
|
|
|
|
public sealed record GetProductsQuery(
|
|
|
|
|
|
Guid[]? BrandIds,
|
|
|
|
|
|
bool? IsActive,
|
2024-02-08 18:56:56 +03:30
|
|
|
|
bool? SpecialOffer,
|
2024-02-04 16:38:23 +03:30
|
|
|
|
int Page = 0 ,
|
2024-01-28 20:51:48 +03:30
|
|
|
|
string? ProductName = default,
|
|
|
|
|
|
QuerySortBy SortBy = QuerySortBy.None ,
|
|
|
|
|
|
Guid CategoryId = default ,
|
|
|
|
|
|
double MinPrice = -1 ,
|
2024-02-15 10:39:00 +03:30
|
|
|
|
double MaxPrice = 0) : IRequest<GetProductsResponseDto>;
|