public function getActivityType() { return $this->hasOne(ActivityType::className(), ['id' => 'ActivityType_id']); }