2023-12-20 10:37:44 +03:30
|
|
|
|
namespace NetinaShop.Domain.CommandQueries.Commands;
|
|
|
|
|
|
|
|
|
|
|
|
public sealed record CreateShippingCommand (
|
|
|
|
|
|
string Title,
|
|
|
|
|
|
string WarehouseName,
|
|
|
|
|
|
bool IsFastShipping ,
|
|
|
|
|
|
bool IsShipBySeller ,
|
2023-12-31 19:55:22 +03:30
|
|
|
|
bool IsOriginalWarehouse,
|
|
|
|
|
|
double DeliveryCost) : IRequest<ShippingSDto>;
|
2023-12-20 10:37:44 +03:30
|
|
|
|
|
|
|
|
|
|
public sealed record UpdateShippingCommand(
|
|
|
|
|
|
Guid Id,
|
|
|
|
|
|
string Title,
|
|
|
|
|
|
string WarehouseName,
|
|
|
|
|
|
bool IsFastShipping,
|
|
|
|
|
|
bool IsShipBySeller,
|
2023-12-31 19:55:22 +03:30
|
|
|
|
bool IsOriginalWarehouse,
|
|
|
|
|
|
double DeliveryCost) : IRequest<bool>;
|
2023-12-20 10:37:44 +03:30
|
|
|
|
|
|
|
|
|
|
public sealed record DeleteShippingCommand(
|
|
|
|
|
|
Guid Id) : IRequest<bool>;
|