| 1 | <?php |
||
| 11 | class VariableHistory |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @ORM\Column(type="integer") |
||
| 15 | * @ORM\Id |
||
| 16 | * @ORM\GeneratedValue(strategy="AUTO") |
||
| 17 | */ |
||
| 18 | private $id; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @return mixed |
||
| 22 | */ |
||
| 23 | public function getVar() |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param mixed $var |
||
| 30 | * @return VariableHistory |
||
| 31 | */ |
||
| 32 | public function setVar($var) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Variable", inversedBy="history") |
||
| 40 | */ |
||
| 41 | private $var; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @ORM\Column(type="string", nullable=true) |
||
| 45 | */ |
||
| 46 | private $value; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @ORM\Column(type="datetime", nullable=true) |
||
| 50 | */ |
||
| 51 | private $time; |
||
| 52 | |||
| 53 | |||
| 54 | /** |
||
| 55 | * @return mixed |
||
| 56 | */ |
||
| 57 | public function getId() |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @param mixed $id |
||
| 64 | * @return Variable |
||
| 65 | */ |
||
| 66 | public function setId($id) |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @return mixed |
||
| 74 | */ |
||
| 75 | public function getValue() |
||
| 79 | |||
| 80 | /** |
||
| 81 | * @param mixed $value |
||
| 82 | */ |
||
| 83 | public function setValue($value) |
||
| 87 | |||
| 88 | /** |
||
| 89 | * @return mixed |
||
| 90 | */ |
||
| 91 | public function getTime() |
||
| 95 | |||
| 96 | /** |
||
| 97 | * @param mixed $time |
||
| 98 | */ |
||
| 99 | public function setTime($time) |
||
| 103 | |||
| 104 | public function __toString() |
||
| 108 | } |
||
| 109 |