100], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'name' => 'Name', ]; } /** * @return \yii\db\ActiveQuery */ public function getCardSkills() { return $this->hasMany(CardSkill::className(), ['skill_id' => 'id']); } public function getCategory() { return $this->hasOne(SkillCategory::class, ['id' => 'category_id']); } }