/** * @return \yii\db\ActiveQuery */ public function getInmuebles() { return $this->hasOne(Inmueble::className(), ['articulo' => 'idarticulo']); }
/** * @return \yii\db\ActiveQuery */ public function getInmueble0() { return $this->hasOne(Inmueble::className(), ['idinmueble' => 'inmueble']); }
/** * @return \yii\db\ActiveQuery */ public function getInmuebles() { return $this->hasMany(Inmueble::className(), ['planta' => 'id']); }