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