/** * @return \yii\db\ActiveQuery */ public function getDocworkflows() { return $this->hasMany(Docworkflow::className(), ['docStatus_id' => 'id']); }