-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
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
建议生成时可以选择链式调用 #8
Comments
链式调用的案例还比较多,需要先收集下,如果同有链式调用的可以补充到这个issue,另外也可以提供判断链式调用逻辑规则。 |
生成普通的set方法的时候,是按照类中字段属性的顺序来的吧,链式调用也可以这么做,但是有种情况,就是说如果这个类有继承类,这时候这个继承的字段就不能放到链式调用中了,得单独进行set或者放到最后一个set |
链式调用 +1。 |
1 similar comment
链式调用 +1。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
比如生成时可以生成 user.setName().setAge().setGender 等等
The text was updated successfully, but these errors were encountered: