public function getLocationModel() { return $this->hasOne(\app\modules\job\models\JobLocation::className(), ['_id' => 'location']); }