<?php

namespace App\Console\Commands\V2;


use Illuminate\Console\Command;
use App\Classes\Jobs\Commands\V2\UpdateWrongGroupCurrencyRateV2CommandJob;

class UpdateWrongGroupCurrencyRateV2Command extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'group-update-wrong-currency-rate-command';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Update those group with currency rate more than 100';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     *
     * @return int
     */
    public function handle()
    {
        UpdateWrongGroupCurrencyRateV2CommandJob::dispatch();
    }
}
