RestrictionItem.php 402 B

12345678910111213141516171819
  1. <?php
  2. namespace App\Game\BetBy;
  3. class RestrictionItem
  4. {
  5. public $sportId;
  6. public $categoryId;
  7. public $tournamentId;
  8. public $eventId;
  9. public function __construct(array $data)
  10. {
  11. $this->sportId = $data['sport_id'];
  12. $this->categoryId = $data['category_id'];
  13. $this->tournamentId = $data['tournament_id'];
  14. $this->eventId = $data['event_id'];
  15. }
  16. }