1.在maven中加入Lombok引入

2.在开发环境中加入Lombok插件

3.在实体类的类名上增加注释@Date即可使用所有get,set方法

posted on 2019-04-19 17:51  壮烈成仁  阅读(129)  评论(0)    收藏  举报