稳定#
@Data
:@ToString、@EqualsAndHashCode、@Getter 应用于所有字段的快捷方式,@Setter 应用于所有非 final 字段,并且 @RequiredArgsConstructor!
实验性#
@Accessors
:Supports chainable getters and setters in the instance, meaning they return this. I usually write it as @Accessors(chain = true)
, so setters return this instead of void.