IDEA自动生成序列化ID

1、安装 serialVersionUID 插件:

2、设置你的IDEA为检查序列化ID

3、重启IDEA(有的版本可以不重启)

4、在需要自动生成序列化ID的类中使用快捷键:Alt+Insert

转载自:https://blog.csdn.net/qq_21033663/article/details/78477336

原文地址:https://www.cnblogs.com/icebutterfly/p/9772424.html