Generator Changes at 11/20/2025 11:12:33 PM +03:30
This commit is contained in:
@@ -4,10 +4,6 @@ public record UpdateUserCartsCommand : IRequest<Unit>
|
||||
//
|
||||
public long Id { get; init; }
|
||||
//
|
||||
public long ProductId { get; init; }
|
||||
//
|
||||
public long UserId { get; init; }
|
||||
//
|
||||
public int Count { get; init; }
|
||||
|
||||
}
|
||||
@@ -5,10 +5,6 @@ public class UpdateUserCartsCommandValidator : AbstractValidator<UpdateUserCarts
|
||||
{
|
||||
RuleFor(model => model.Id)
|
||||
.NotNull();
|
||||
RuleFor(model => model.ProductId)
|
||||
.NotNull();
|
||||
RuleFor(model => model.UserId)
|
||||
.NotNull();
|
||||
RuleFor(model => model.Count)
|
||||
.NotNull();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user