initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using FluentValidation;
|
||||
|
||||
namespace Indotalent.Features.Sales.DeliveryOrder.Cqrs;
|
||||
|
||||
public class UpdateDeliveryOrderValidator : AbstractValidator<UpdateDeliveryOrderRequest>
|
||||
{
|
||||
public UpdateDeliveryOrderValidator()
|
||||
{
|
||||
RuleFor(x => x.Id).NotEmpty();
|
||||
RuleFor(x => x.SalesOrderId).NotEmpty();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user