| 1 | <?php |
||
| 14 | class Question |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @ORM\Id |
||
| 18 | * @ORM\Column(type="integer") |
||
| 19 | * @ORM\GeneratedValue(strategy="AUTO") |
||
| 20 | */ |
||
| 21 | protected $id; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return mixed |
||
| 25 | */ |
||
| 26 | public function getId() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param mixed $id |
||
| 33 | */ |
||
| 34 | public function setId($id) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * GUID Of the question -- unique |
||
| 41 | * |
||
| 42 | * @ORM\Column(type="string",length=32,unique=true) |
||
| 43 | */ |
||
| 44 | public $guid; |
||
| 45 | /** |
||
| 46 | * @ORM\Column(type="text") |
||
| 47 | */ |
||
| 48 | public $text; |
||
| 49 | /** |
||
| 50 | * @ORM\Column(type="text") |
||
| 51 | */ |
||
| 52 | public $a1; |
||
| 53 | /** |
||
| 54 | * @ORM\Column(type="text") |
||
| 55 | */ |
||
| 56 | public $a2; |
||
| 57 | /** |
||
| 58 | * @ORM\Column(type="text") |
||
| 59 | */ |
||
| 60 | public $a3; |
||
| 61 | /** |
||
| 62 | * @ORM\Column(type="text") |
||
| 63 | */ |
||
| 64 | public $a4; |
||
| 65 | /** |
||
| 66 | * @ORM\Column(type="integer") |
||
| 67 | */ |
||
| 68 | public $price; |
||
| 69 | /** |
||
| 70 | * @ORM\Column(type="integer") |
||
| 71 | */ |
||
| 72 | public $played; |
||
| 73 | /** |
||
| 74 | * @ORM\Column(type="integer") |
||
| 75 | */ |
||
| 76 | public $correct; |
||
| 77 | /** |
||
| 78 | * @ORM\Column(type="string", length=30) |
||
| 79 | */ |
||
| 80 | public $category; |
||
| 81 | } |
||
| 82 |