idea生成序列化UID

https://jingyan.baidu.com/article/48206aea8f0b7c216bd6b352.html

1.ctrl + alt + s -> 打开如下界面,勾选Serializable class without 'serialVersionUID'

2.继承完Serialzable然后,鼠标点一下类名,按alt+enter就会弹出生成UID的提示,点击即可生成成功

猜你喜欢

转载自blog.csdn.net/qq_38056704/article/details/85337027
今日推荐