public function getDetails() { return $this->hasMany(UserDetail::className(), ['HAS'], ActiveQuery::DIRECTION_OUT); }