IDEA 设置 快捷 生成 序列号 serialVersionUID;

先按如下路径打开:

File | Settings | Editor | Inspections

右侧搜索 uid 

将 Serializable class without 'serialVersionUID' 勾选