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