Applied validation
This commit is contained in:
@@ -62,4 +62,7 @@ public class FieldValidator {
|
||||
errors.add(errorMessage);
|
||||
return this;
|
||||
}
|
||||
public static boolean isNullOrZero(Long value) {
|
||||
return value == null || value == 0L;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user