订单的取消和发货命令

This commit is contained in:
administrator committed 2024-09-09 22:53:22 +08:00
1 parent 3cad5598b7
commit 923089b83b
8 files changed
+193 -41

No files matched your search

@@ -0,0 +1,16 @@
// Copyright (c) HelloShop Corporation. All rights reserved.
// See the license file in the project root for more information.
using FluentValidation;
using HelloShop.OrderingService.Commands.Orders;
namespace HelloShop.OrderingService.Validations.Commands
{
public class ShipOrderCommandValidator : AbstractValidator<ShipOrderCommand>
{
public ShipOrderCommandValidator()
{
RuleFor(order => order.OrderNumber).GreaterThan(0);
}
}
}