src/Entity/Subscribers.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\SubscribersRepository")
  6.  */
  7. class Subscribers
  8. {
  9.     /**
  10.      * @ORM\Column(name="id", type="integer")
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue(strategy="AUTO")
  13.      */
  14.     private $id;
  15.     /**
  16.      * @ORM\Column(name="email", type="string", length=255,nullable=true)
  17.      */
  18.     private $email;
  19.     /**
  20.      * @ORM\Column(name="date", type="datetime",nullable=true)
  21.      */
  22.     private $date;
  23.     /**
  24.      * @ORM\Column(name="IP", type="string", length=255, nullable=true)
  25.      */
  26.     private $iP;
  27.     /**
  28.      * @ORM\Column(name="browser", type="string", length=255)
  29.      */
  30.     private $browser;
  31.     /**
  32.      * @ORM\Column(name="OS", type="string", length=255)
  33.      */
  34.     private $oS;
  35.     /**
  36.      * @ORM\Column(type="string", length=255, nullable=true)
  37.      */
  38.     private $fname;
  39.     /**
  40.      * @ORM\Column(type="string", length=255, nullable=true)
  41.      */
  42.     private $lname;
  43.     public function getId()
  44.     {
  45.         return $this->id;
  46.     }
  47.     public function setEmail($email)
  48.     {
  49.         $this->email $email;
  50.         return $this;
  51.     }
  52.     public function getEmail()
  53.     {
  54.         return $this->email;
  55.     }
  56.     public function setDate($date)
  57.     {
  58.         $this->date $date;
  59.         return $this;
  60.     }
  61.     public function getDate()
  62.     {
  63.         return $this->date;
  64.     }
  65.     public function setIP($iP)
  66.     {
  67.         $this->iP $iP;
  68.         return $this;
  69.     }
  70.     public function getIP()
  71.     {
  72.         return $this->iP;
  73.     }
  74.     public function setBrowser($browser)
  75.     {
  76.         $this->browser $browser;
  77.         return $this;
  78.     }
  79.     public function getBrowser()
  80.     {
  81.         return $this->browser;
  82.     }
  83.     public function setOS($oS)
  84.     {
  85.         $this->oS $oS;
  86.         return $this;
  87.     }
  88.     public function getOS()
  89.     {
  90.         return $this->oS;
  91.     }
  92.     public function getFname(): ?string
  93.     {
  94.         return $this->fname;
  95.     }
  96.     public function setFname(?string $fname): self
  97.     {
  98.         $this->fname $fname;
  99.         return $this;
  100.     }
  101.     public function getLname(): ?string
  102.     {
  103.         return $this->lname;
  104.     }
  105.     public function setLname(?string $lname): self
  106.     {
  107.         $this->lname $lname;
  108.         return $this;
  109.     }
  110. }