| 1 | <?php |
||
| 10 | class FinalPosition |
||
| 11 | {
|
||
| 12 | /** |
||
| 13 | * @var Team |
||
| 14 | * |
||
| 15 | * @ORM\Id |
||
| 16 | * @ORM\ManyToOne(targetEntity="Team", inversedBy="finalPositions") |
||
| 17 | */ |
||
| 18 | private $team; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var int |
||
| 22 | * |
||
| 23 | * @ORM\Id |
||
| 24 | * @ORM\Column(type="integer") |
||
| 25 | */ |
||
| 26 | private $season; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var League |
||
| 30 | * |
||
| 31 | * @ORM\ManyToOne(targetEntity="League") |
||
| 32 | */ |
||
| 33 | private $league; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var integer |
||
| 37 | * |
||
| 38 | * @ORM\Column(type="integer") |
||
| 39 | */ |
||
| 40 | private $position; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return Team |
||
| 44 | */ |
||
| 45 | public function getTeam() |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @param Team $team |
||
| 52 | */ |
||
| 53 | public function setTeam(Team $team) |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @return int |
||
| 60 | */ |
||
| 61 | public function getSeason() |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @param int $season |
||
| 68 | */ |
||
| 69 | public function setSeason($season) |
||
| 73 | |||
| 74 | /** |
||
| 75 | * @return League |
||
| 76 | */ |
||
| 77 | public function getLeague() |
||
| 81 | |||
| 82 | /** |
||
| 83 | * @param League $league |
||
| 84 | */ |
||
| 85 | public function setLeague(League $league) |
||
| 89 | |||
| 90 | /** |
||
| 91 | * @return int |
||
| 92 | */ |
||
| 93 | public function getPosition() |
||
| 97 | |||
| 98 | /** |
||
| 99 | * @param int $position |
||
| 100 | */ |
||
| 101 | public function setPosition($position) |
||
| 105 | } |
||
| 106 |