public function getEavType() { return $this->hasOne(EavAttributeType::className(), ['id' => 'typeId']); }