Bet.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. class Bet
  3. {
  4. private string $gameDate;
  5. private string $leagueName;
  6. private string $teams;
  7. private string $betOn;
  8. private float $betAmount;
  9. private float $betOdds;
  10. private string $betStatus;
  11. public function __construct(
  12. string $gameDate,
  13. string $leagueName,
  14. string $teams,
  15. string $betOn,
  16. float $betAmount,
  17. float $betOdds,
  18. string $betStatus
  19. ) {
  20. $this->gameDate = $gameDate;
  21. $this->leagueName = $leagueName;
  22. $this->teams = $teams;
  23. $this->betOn = $betOn;
  24. $this->betAmount = $betAmount;
  25. $this->betOdds = $betOdds;
  26. $this->betStatus = $betStatus;
  27. }
  28. public function getGameDate()
  29. {
  30. return $this->gameDate;
  31. }
  32. public function getLeagueName()
  33. {
  34. return $this->leagueName;
  35. }
  36. public function getTeams()
  37. {
  38. return $this->teams;
  39. }
  40. public function getBetOn()
  41. {
  42. return $this->betOn;
  43. }
  44. public function getBetAmount()
  45. {
  46. return $this->betAmount;
  47. }
  48. public function getOdds()
  49. {
  50. return $this->betOdds;
  51. }
  52. public function getStatus()
  53. {
  54. return $this->betStatus;
  55. }
  56. }