initial commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
using FluentValidation;
|
||||
|
||||
namespace Indotalent.Features.Inventory.NegativeAdjustment.Cqrs;
|
||||
|
||||
public class CreateNegativeAdjustmentValidator : AbstractValidator<CreateNegativeAdjustmentRequest>
|
||||
{
|
||||
public CreateNegativeAdjustmentValidator()
|
||||
{
|
||||
RuleFor(x => x.AdjustmentDate).NotEmpty().WithMessage("Adjustment Date is required");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user