| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?php
- class Bet
- {
- private string $gameDate;
- private string $leagueName;
- private string $teams;
- private string $betOn;
- private float $betAmount;
- private float $betOdds;
- private string $betStatus;
- public function __construct(
- string $gameDate,
- string $leagueName,
- string $teams,
- string $betOn,
- float $betAmount,
- float $betOdds,
- string $betStatus
- ) {
- $this->gameDate = $gameDate;
- $this->leagueName = $leagueName;
- $this->teams = $teams;
- $this->betOn = $betOn;
- $this->betAmount = $betAmount;
- $this->betOdds = $betOdds;
- $this->betStatus = $betStatus;
- }
- public function getGameDate()
- {
- return $this->gameDate;
- }
- public function getLeagueName()
- {
- return $this->leagueName;
- }
- public function getTeams()
- {
- return $this->teams;
- }
- public function getBetOn()
- {
- return $this->betOn;
- }
- public function getBetAmount()
- {
- return $this->betAmount;
- }
- public function getOdds()
- {
- return $this->betOdds;
- }
- public function getStatus()
- {
- return $this->betStatus;
- }
- }
|