| 1 | <?php |
||
| 14 | class Software extends PonthubFile |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Année |
||
| 18 | * @ORM\Column(name="year", type="integer", nullable=true) |
||
| 19 | * @JMS\Expose |
||
| 20 | * @Assert\Range(min = 1000, max = 2050) |
||
| 21 | */ |
||
| 22 | protected $year; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Studio/développeur |
||
| 26 | * @ORM\Column(name="author", type="string", nullable=true) |
||
| 27 | * @JMS\Expose |
||
| 28 | * @Assert\Type("string") |
||
| 29 | */ |
||
| 30 | protected $author; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Version |
||
| 34 | * @ORM\Column(name="version", type="string", nullable=true) |
||
| 35 | * @JMS\Expose |
||
| 36 | * @Assert\Type("string") |
||
| 37 | */ |
||
| 38 | protected $version; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Operating System |
||
| 42 | * @ORM\Column(name="os", type="string", nullable=true) |
||
| 43 | * @JMS\Expose |
||
| 44 | * @Assert\Type("string") |
||
| 45 | */ |
||
| 46 | protected $os; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Set year |
||
| 50 | * |
||
| 51 | * @param integer $year |
||
| 52 | * @return Game |
||
| 53 | */ |
||
| 54 | public function setYear($year) |
||
| 60 | |||
| 61 | /** |
||
| 62 | * Get year |
||
| 63 | * |
||
| 64 | * @return integer |
||
| 65 | */ |
||
| 66 | public function getYear() |
||
| 70 | |||
| 71 | /** |
||
| 72 | * Set author |
||
| 73 | * |
||
| 74 | * @param string $author |
||
| 75 | * @return Software |
||
| 76 | */ |
||
| 77 | public function setAuthor($author) |
||
| 83 | |||
| 84 | /** |
||
| 85 | * Get author |
||
| 86 | * |
||
| 87 | * @return string |
||
| 88 | */ |
||
| 89 | public function getAuthor() |
||
| 93 | |||
| 94 | /** |
||
| 95 | * Set version |
||
| 96 | * |
||
| 97 | * @param string $version |
||
| 98 | * @return Software |
||
| 99 | */ |
||
| 100 | public function setVersion($version) |
||
| 106 | |||
| 107 | /** |
||
| 108 | * Get version |
||
| 109 | * |
||
| 110 | * @return string |
||
| 111 | */ |
||
| 112 | public function getVersion() |
||
| 116 | |||
| 117 | /** |
||
| 118 | * Set os |
||
| 119 | * |
||
| 120 | * @param string $os |
||
| 121 | * |
||
| 122 | * @return Software |
||
| 123 | */ |
||
| 124 | public function setOs($os) |
||
| 130 | |||
| 131 | /** |
||
| 132 | * Get os |
||
| 133 | * |
||
| 134 | * @return string |
||
| 135 | */ |
||
| 136 | public function getOs() |
||
| 140 | |||
| 141 | } |
||
| 142 |