100], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'name' => 'Название', 'use' => 'Применение', ]; } /** * @return \yii\db\ActiveQuery */ public function getUseStatuses() { return $this->hasMany(UseStatus::class, ['status_id' => 'id']); } /** * @return \yii\db\ActiveQuery */ public function getUserCards() { return $this->hasMany(UserCard::class, ['status' => 'id']); } }