/**
  * @return \yii\db\ActiveQuery
  */
 public function getIdModelo()
 {
     return $this->hasOne(Modelo::className(), ['id' => 'id_modelo']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getModelos()
 {
     return $this->hasMany(Modelo::className(), ['id_marca' => 'id']);
 }