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
为什么在demo中的UserBean不使用__get与__set魔术方法而是使用写死的get(set)+属性名这种方式,仅仅只是考虑效率的原因,还是将来会加入set/get的注解?
The text was updated successfully, but these errors were encountered:
个人理解,工具类比较抽象 更适合使用魔术方法,但是UserBean 作为Model层,比较具体,方便查看具体的属性和方法。
Sorry, something went wrong.
魔术方法不支持ide自动提示.代码最主要的是直观,易开发,而且,这样也并不会消耗更多的性能
No branches or pull requests
为什么在demo中的UserBean不使用__get与__set魔术方法而是使用写死的get(set)+属性名这种方式,仅仅只是考虑效率的原因,还是将来会加入set/get的注解?
The text was updated successfully, but these errors were encountered: