- <?php
- namespace CoreBundle\Entity\Vehicles;
- use DateTime;
- class VehicleView
- {
-     /**
-      * @var int
-      */
-     private $id;
-     /**
-      * @var string
-      */
-     private $ip;
-     /**
-      * @var Vehicle|null
-      */
-     private $vehicle;
-     /**
-      * @var boolean
-      */
-     private $isSend;
-     /**
-      * @var DateTime
-      */
-     private $viewAt;
-     public function getId(): int
-     {
-         return $this->id;
-     }
-     public function setIp(string $ip): self
-     {
-         $this->ip = $ip;
-         return $this;
-     }
-     public function getIp(): string
-     {
-         return $this->ip;
-     }
-     public function getVehicle(): ?Vehicle
-     {
-         return $this->vehicle;
-     }
-     public function setVehicle(?Vehicle $vehicle): self
-     {
-         $this->vehicle = $vehicle;
-         return $this;
-     }
-     public function setViewAt(DateTime $viewAt): self
-     {
-         $this->viewAt = $viewAt;
-         return $this;
-     }
-     public function getViewAt(): DateTime
-     {
-         return $this->viewAt;
-     }
-     public function getIsSend(): bool
-     {
-         return $this->isSend;
-     }
-     public function setIsSend(bool $isSend): VehicleView
-     {
-         $this->isSend = $isSend;
-         return $this;
-     }
- }
-