Get getter and setter methods automatically in spring boot project

After importing the project and adding the maven dependency, install the lombok plugin and add the @Data annotation to the entity class, so that even if the setter and getter methods are not written in the entity class, the getter and setter methods can be obtained.

Guess you like

Origin blog.csdn.net/qq_36409988/article/details/107778754
Recommended