Lombok使用链式写法
步骤一:添加注解@Data@NoArgsConstructor@Accessors(chain = true)public class Demo implements Serializable { private String one; private Integer two; public Demo(String one) { this.o...