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