/** * @return \yii\db\ActiveQuery */ public function getAttributeTypeI18ns() { return $this->hasMany(AttributeTypeI18n::className(), ['attribute_type_id' => 'attribute_type_id']); }