lombok简单使用 idea中使用: pom中添加依赖 测试: @data:会生成常用的get,set之类的方法,但不会生成无参有参构造器 @noargsconstructor:生成无参构造器 @allargsconstructor:生成有参构造器