2023-12-20 10:37:44 +03:30
|
|
|
|
namespace NetinaShop.Domain.CommandQueries.Commands;
|
|
|
|
|
|
|
|
|
|
|
|
public sealed record CreateShippingCommand (
|
2024-02-09 21:43:14 +03:30
|
|
|
|
string Name,
|
2023-12-20 10:37:44 +03:30
|
|
|
|
string WarehouseName,
|
2024-02-09 21:43:14 +03:30
|
|
|
|
bool IsExpressShipping,
|
2023-12-20 10:37:44 +03:30
|
|
|
|
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,
|
2024-02-09 21:43:14 +03:30
|
|
|
|
string Name,
|
2023-12-20 10:37:44 +03:30
|
|
|
|
string WarehouseName,
|
2024-02-09 21:43:14 +03:30
|
|
|
|
bool IsExpressShipping,
|
2023-12-20 10:37:44 +03:30
|
|
|
|
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>;
|