/** * @return \yii\db\ActiveQuery */ public function getBrend() { return $this->hasOne(Brend::className(), ['id' => 'brend_id']); }