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