最佳答案
考虑两种型号 A
和 B
与 B
相关的是 one to one
关系
使用(A-> hasOne
-B)和(A-> belongsTo
-B)有什么区别?
我可以互换使用它们吗?