<?php

namespace App\Game\BetBy;


class BetItem
{
    public $id;
    public $event_id;
    public $sport_id;
    public $tournament_id;
    public $category_id;
    public $live;
    public $sport_name;
    public $category_name;
    public $tournament_name;
    public $competitor_name;
    public $market_name;
    public $outcome_name;
    public $scheduled;
    public $odds;

    public function __construct(array $data)
    {
        $this->id = $data['id'];
        $this->event_id = $data['event_id'];
        $this->sport_id = $data['sport_id'];
        $this->tournament_id = $data['tournament_id'];
        $this->category_id = $data['category_id'];
        $this->live = $data['live'];
        $this->sport_name = $data['sport_name'];
        $this->category_name = $data['category_name'];
        $this->tournament_name = $data['tournament_name'];
        $this->competitor_name = $data['competitor_name'];
        $this->market_name = $data['market_name'];
        $this->outcome_name = $data['outcome_name'];
        $this->scheduled = $data['scheduled'];
        $this->odds = $data['odds'];
    }
}
