Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace App\AdminBundle\Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- * App\AdminBundle\Entity\CountryFixture
- *
- * @ORM\Table(name="country_fixture")
- * @ORM\Entity
- */
- class CountryFixture
- {
- /**
- * @var integer $id
- *
- * @ORM\Column(name="id", type="integer", nullable=false)
- * @ORM\Id
- * @ORM\GeneratedValue(strategy="IDENTITY")
- */
- private $id;
- /**
- * @var integer $score
- *
- * @ORM\Column(name="score", type="integer", nullable=true)
- */
- private $score;
- /**
- * @var Country
- *
- * @ORM\ManyToOne(targetEntity="Country")
- * @ORM\JoinColumns({
- * @ORM\JoinColumn(name="country_id", referencedColumnName="id")
- * })
- */
- private $country;
- /**
- * @var CountryMatch
- *
- * @ORM\ManyToOne(targetEntity="CountryMatch")
- * @ORM\JoinColumns({
- * @ORM\JoinColumn(name="country_match_id", referencedColumnName="id")
- * })
- */
- private $countryMatch;
- /**
- * Get id
- *
- * @return integer
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * Set score
- *
- * @param integer $score
- */
- public function setScore($score)
- {
- $this->score = $score;
- }
- /**
- * Get score
- *
- * @return integer
- */
- public function getScore()
- {
- return $this->score;
- }
- /**
- * Set country
- *
- * @param App\AdminBundle\Entity\Country $country
- */
- public function setCountry(\App\AdminBundle\Entity\Country $country)
- {
- $this->country = $country;
- }
- /**
- * Get country
- *
- * @return App\AdminBundle\Entity\Country
- */
- public function getCountry()
- {
- return $this->country;
- }
- /**
- * Set countryMatch
- *
- * @param App\AdminBundle\Entity\CountryMatch $countryMatch
- */
- public function setCountryMatch(\App\AdminBundle\Entity\CountryMatch $countryMatch)
- {
- $this->countryMatch = $countryMatch;
- }
- /**
- * Get countryMatch
- *
- * @return App\AdminBundle\Entity\CountryMatch
- */
- public function getCountryMatch()
- {
- return $this->countryMatch;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement