If you add a comment
@Data: get / set / equis / hashcode / tostring
also configuration dependent properties still can not be used, then you must download a plug-in lombok in IDEA, you can solve
@Data:
* @see Getter
* @see Setter
* @see RequiredArgsConstructor
* @see ToString
* @see EqualsAndHashCode
* @see lombok.Value
Reference: https://jingyan.baidu.com/article/c910274b55a5b8cd361d2da1.html