| 1 | <?php |
||
| 16 | class Tip extends Base |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @ORM\Id() |
||
| 20 | * @ORM\Column(type="integer") |
||
| 21 | * @ORM\GeneratedValue() |
||
| 22 | */ |
||
| 23 | private $id; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var int |
||
| 27 | * |
||
| 28 | * @JMS\Expose |
||
| 29 | * |
||
| 30 | * @ORM\Column(type="integer") |
||
| 31 | * @Assert\NotBlank() |
||
| 32 | */ |
||
| 33 | private $day; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var int |
||
| 37 | * |
||
| 38 | * @JMS\Expose |
||
| 39 | * |
||
| 40 | * @ORM\Column(type="integer") |
||
| 41 | * @Assert\NotBlank() |
||
| 42 | */ |
||
| 43 | private $month; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @var string |
||
| 47 | * |
||
| 48 | * @JMS\Expose |
||
| 49 | * |
||
| 50 | * @ORM\Column(type="string") |
||
| 51 | * @Assert\NotBlank() |
||
| 52 | */ |
||
| 53 | private $description; |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return mixed |
||
| 57 | */ |
||
| 58 | 2 | public function getId() |
|
| 62 | |||
| 63 | /** |
||
| 64 | * @return int |
||
| 65 | */ |
||
| 66 | 4 | public function getDay() |
|
| 70 | |||
| 71 | /** |
||
| 72 | * @param int $day |
||
| 73 | */ |
||
| 74 | 7 | public function setDay($day) |
|
| 78 | |||
| 79 | /** |
||
| 80 | * @return int |
||
| 81 | */ |
||
| 82 | 4 | public function getMonth() |
|
| 86 | |||
| 87 | /** |
||
| 88 | * @param int $month |
||
| 89 | */ |
||
| 90 | 7 | public function setMonth($month) |
|
| 94 | |||
| 95 | /** |
||
| 96 | * @return string |
||
| 97 | */ |
||
| 98 | 4 | public function getDescription() |
|
| 102 | |||
| 103 | /** |
||
| 104 | * @param string $description |
||
| 105 | */ |
||
| 106 | 7 | public function setDescription($description) |
|
| 110 | } |
||
| 111 |