We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
每个字段都要写一个验证类,代码量还是蛮大的,有没有更好的方案,或者用内部类可以吗,POJO对应一个验证类,此类里面包含每个字段验证的子类,并且需要包含对POJO本身为不为空的判断吧?
The text was updated successfully, but these errors were encountered:
你好,你用的是注解的方式吗?可以考虑使用纯API的方式。
Sorry, something went wrong.
No branches or pull requests
每个字段都要写一个验证类,代码量还是蛮大的,有没有更好的方案,或者用内部类可以吗,POJO对应一个验证类,此类里面包含每个字段验证的子类,并且需要包含对POJO本身为不为空的判断吧?
The text was updated successfully, but these errors were encountered: