| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <?php
- class Team
- {
- private int $teamId;
- private string $teamName;
- private int $countryId;
- private string $countryName;
- private int $teamLeagueId;
- private string $teamLeague;
- public function __construct(
- $teamId,
- $teamName,
- $countryId,
- $countryName,
- $teamLeagueId,
- $teamLeague
- ) {
- $this->teamId = $teamId;
- $this->teamName = $teamName;
- $this->countryId = $countryId;
- $this->countryName = $countryName;
- $this->teamLeagueId = $teamLeagueId;
- $this->teamLeague = $teamLeague;
- }
- // Getters and Setters
- public function getTeamId()
- {
- return $this->teamId;
- }
- public function setTeamId($teamId)
- {
- $this->teamId = $teamId;
- }
- public function getTeamName()
- {
- return $this->teamName;
- }
- public function setTeamName($teamName)
- {
- $this->teamName = $teamName;
- }
- public function getCountryId()
- {
- return $this->countryId;
- }
- public function setCountryId($countryId)
- {
- $this->countryId = $countryId;
- }
- public function getCountryName()
- {
- return $this->countryName;
- }
- public function setCountryName($countryName)
- {
- $this->countryName = $countryName;
- }
- public function getTeamLeagueId()
- {
- return $this->teamLeagueId;
- }
- public function setTeamLeagueId($teamLeagueId)
- {
- $this->teamLeagueId = $teamLeagueId;
- }
- public function getTeamLeague()
- {
- return $this->teamLeague;
- }
- public function setTeamLeague($teamLeague)
- {
- $this->teamLeague = $teamLeague;
- }
- }
|