123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <?php
- namespace Skamander\BenchmarkBundle\Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- * @ORM\Entity
- * @ORM\Table(name="Fortune")
- */
- class Fortune
- {
- /**
- * @ORM\Id
- * @ORM\Column(type="integer")
- */
- public $id;
- /**
- * @ORM\Column(type="string")
- */
- public $message;
- /**
- * Set id
- *
- * @param integer $id
- * @return Fortune
- */
- public function setId($id)
- {
- $this->id = $id;
- return $this;
- }
- /**
- * Get id
- *
- * @return integer
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * Set message
- *
- * @param string $message
- * @return Fortune
- */
- public function setMessage($message)
- {
- $this->message = $message;
- return $this;
- }
- /**
- * Get message
- *
- * @return string
- */
- public function getMessage()
- {
- return $this->message;
- }
- }
|