Applied validation

This commit is contained in:
rajesh
2024-09-17 16:15:15 +05:30
parent 6959ac0a65
commit d2fed5e168
14 changed files with 57 additions and 10 deletions

View File

@@ -62,4 +62,7 @@ public class FieldValidator {
errors.add(errorMessage);
return this;
}
public static boolean isNullOrZero(Long value) {
return value == null || value == 0L;
}
}