Generator Changes at 9/28/2025 6:52:18 AM

This commit is contained in:
MeysamMoghaddam
2025-09-28 07:04:12 +03:30
parent dc0ba7a5ef
commit fffc7abcbb
6 changed files with 3 additions and 26 deletions

View File

@@ -8,6 +8,6 @@ public record VerifyOtpTokenCommand : IRequest<VerifyOtpTokenResponseDto>
//کد
public string Code { get; init; }
//کد معرف والد
public string ParentReferralCode { get; init; }
public string? ParentReferralCode { get; init; }
}

View File

@@ -9,8 +9,6 @@ public class VerifyOtpTokenCommandValidator : AbstractValidator<VerifyOtpTokenCo
.NotEmpty();
RuleFor(model => model.Code)
.NotEmpty();
RuleFor(model => model.ParentReferralCode)
.NotEmpty();
}
public Func<object, string, Task<IEnumerable<string>>> ValidateValue => async (model, propertyName) =>
{