我正在开发sails.js带有sequelize的应用程序甲骨文。我对何时需要使用BelongsTo和HasOne感到有些困惑。文档指出:BelongsToassociationsareassociationswheretheforeignkeyfortheone-to-onerelationexistsonthesourcemodel.HasOneassociationsareassociationswheretheforeignkeyfortheone-to-onerelationexistsonthetargetmodel.除了指定这些的地方还有其他区别吗?在这两种情况下,行为是