public function getStream() { return $this->hasOne(Stream::className(), ['stream_id' => 'class_stream'])->one(); }
public function getStream() { return $this->hasOne(Stream::className(), ['pr_id' => 'pr_id']); }