如图,为什么不能继续setMag呢?如图,为什么不能继续setMag呢?
lombok链式需要加上@Accessors(chain = true),默认是非链式的
默认set方法返回值void 需要链式加
@Accessors(chain = true)