1、idea安装lombok插件
2、没有安装插件之前使用方式
3、使用插件之后使用方式
4、该插件支持的@Data注解,可以自动为属性提供getter和setter方法,还有单独的@Getter和@Setter等等其他。