['user_id', 'power_id'], 'message' => 'The combination of User ID and Power ID has already been taken.'], ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'user_id' => 'User ID', 'power_id' => 'Power ID', ]; } }