public function getMotor0() { return $this->hasOne(Motor::className(), ['id' => 'id_motor'])->from(Motor::tableName()); }