add method
By default, Intellij IDEA turns off the warning of serialVersionUID generation for classes that inherit the Serializable interface. If you need IDE prompt to generate serialVersionUID, you need to do the following settings:
1、setting->Inspections->Serialization issues,将serialzable class without “serialVersionUID”打上勾;
2. Put the cursor on the class name, press atl+enter, it will prompt to generate serialVersionUID