Generator Changes at 11/20/2025 11:12:33 PM +03:30

This commit is contained in:
masoodafar-web
2025-11-20 23:14:30 +03:30
parent a1c934c2de
commit a5bfb884bb
4 changed files with 1 additions and 15 deletions

View File

@@ -57,9 +57,7 @@ message CreateNewUserCartsResponse
message UpdateUserCartsRequest
{
int64 id = 1;
int64 product_id = 2;
int64 user_id = 3;
int32 count = 4;
int32 count = 2;
}
message DeleteUserCartsRequest
{

View File

@@ -8,10 +8,6 @@ public class UpdateUserCartsRequestValidator : AbstractValidator<UpdateUserCarts
{
RuleFor(model => model.Id)
.NotNull();
RuleFor(model => model.ProductId)
.NotNull();
RuleFor(model => model.UserId)
.NotNull();
RuleFor(model => model.Count)
.NotNull();
}