Validate Class

The validate class provides methods where custom validations can be added for an entity.