src/Entity/UserTrackingDetail.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\UserTrackingDetailRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=UserTrackingDetailRepository::class)
  7.  */
  8. class UserTrackingDetail
  9. {
  10.     /**
  11.      * @ORM\Id()
  12.      * @ORM\GeneratedValue()
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=UserTracking::class, inversedBy="details")
  18.      * @ORM\JoinColumn(nullable=false)
  19.      */
  20.     private $userTracking;
  21.     /**
  22.      * @ORM\Column(type="datetime")
  23.      */
  24.     private $date;
  25.     /**
  26.      * @ORM\Column(type="string", length=255, nullable=true)
  27.      */
  28.     private $path;
  29.     /**
  30.      * @ORM\Column(type="string", length=255, nullable=true)
  31.      */
  32.     private $action;
  33.     /**
  34.      * @ORM\Column(type="text", nullable=true)
  35.      */
  36.     private $data;
  37.     /**
  38.      * @ORM\Column(type="string", length=10, nullable=true)
  39.      */
  40.     private $method;
  41.     /**
  42.      * @ORM\Column(type="string", length=50, nullable=true)
  43.      */
  44.     private $ip;
  45.     public function getId(): ?int
  46.     {
  47.         return $this->id;
  48.     }
  49.     public function getUserTracking(): ?UserTracking
  50.     {
  51.         return $this->userTracking;
  52.     }
  53.     public function setUserTracking(?UserTracking $userTracking): self
  54.     {
  55.         $this->userTracking $userTracking;
  56.         return $this;
  57.     }
  58.     public function getDate(): ?\DateTimeInterface
  59.     {
  60.         return $this->date;
  61.     }
  62.     public function setDate(\DateTimeInterface $date): self
  63.     {
  64.         $this->date $date;
  65.         return $this;
  66.     }
  67.     public function getPath(): ?string
  68.     {
  69.         return $this->path;
  70.     }
  71.     public function setPath(?string $path): self
  72.     {
  73.         $this->path $path;
  74.         return $this;
  75.     }
  76.     public function getAction(): ?string
  77.     {
  78.         return $this->action;
  79.     }
  80.     public function setAction(?string $action): self
  81.     {
  82.         $this->action $action;
  83.         return $this;
  84.     }
  85.     public function getData(): ?string
  86.     {
  87.         return $this->data;
  88.     }
  89.     public function setData(?string $data): self
  90.     {
  91.         $this->data $data;
  92.         return $this;
  93.     }
  94.     public function getMethod(): ?string
  95.     {
  96.         return $this->method;
  97.     }
  98.     public function setMethod(?string $method): self
  99.     {
  100.         $this->method $method;
  101.         return $this;
  102.     }
  103.     public function getIp(): ?string
  104.     {
  105.         return $this->ip;
  106.     }
  107.     public function setIp(?string $ip): self
  108.     {
  109.         $this->ip $ip;
  110.         return $this;
  111.     }
  112. }