模型A hasOne 模型B,那么B应该 hasOne A 还是 belongsTo A更合理?
模型A hasOne 模型B,那么B应该 hasOne A 还是 belongsTo A更合理?
A hasOne(有一个) B. B那就应该belongsTo(属于) A