Javabean规范

1.公有类

2.无参的公有 构造方法

3.属性私有

4.getter和setter方法

原文地址:https://www.cnblogs.com/1-2-2/p/9837519.html