Generator Changes at 9/28/2025 6:52:18 AM
This commit is contained in:
@@ -8,6 +8,6 @@ public record VerifyOtpTokenCommand : IRequest<VerifyOtpTokenResponseDto>
|
||||
//کد
|
||||
public string Code { get; init; }
|
||||
//کد معرف والد
|
||||
public string ParentReferralCode { get; init; }
|
||||
public string? ParentReferralCode { get; init; }
|
||||
|
||||
}
|
||||
@@ -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) =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user