src/Entity/Subscriber.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SubscriberRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=SubscriberRepository::class)
  7.  */
  8. class Subscriber
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="integer", nullable=true)
  18.      */
  19.     private $UserId;
  20.     /**
  21.      * @ORM\Column(type="integer", nullable=true)
  22.      */
  23.     private $OfferTypeId;
  24.     /**
  25.      * @ORM\Column(type="string", length=255, nullable=true)
  26.      */
  27.     private $UserLogin;
  28.     /**
  29.      * @ORM\Column(type="string", length=255, nullable=true)
  30.      */
  31.     private $UserEmail;
  32.     /**
  33.      * @ORM\Column(type="string", length=255, nullable=true)
  34.      */
  35.     private $UserFirstName;
  36.     /**
  37.      * @ORM\Column(type="string", length=255, nullable=true)
  38.      */
  39.     private $UserLastName;
  40.     /**
  41.      * @ORM\Column(type="string", length=255, nullable=true)
  42.      */
  43.     private $url;
  44.     /**
  45.      * @ORM\Column(type="string", length=255, nullable=true)
  46.      */
  47.     private $login;
  48.     /**
  49.      * @ORM\Column(type="string", length=255, nullable=true)
  50.      */
  51.     private $password;
  52.     /**
  53.      * @ORM\Column(type="datetime", nullable=true)
  54.      */
  55.     private $DateCreation;
  56.     /**
  57.      * @ORM\Column(type="datetime", nullable=true)
  58.      */
  59.     private $LastAccessDate;
  60.     /**
  61.      * @ORM\Column(type="integer", length=255, nullable=true)
  62.      */
  63.     private $TotalRead;
  64.     /**
  65.      * @ORM\ManyToOne(targetEntity=Client::class, inversedBy="subscribers")
  66.      */
  67.     private $client;
  68.     public function getId(): ?int
  69.     {
  70.         return $this->id;
  71.     }
  72.     public function getUserId(): ?int
  73.     {
  74.         return $this->UserId;
  75.     }
  76.     public function setUserId(?int $UserId): self
  77.     {
  78.         $this->UserId $UserId;
  79.         return $this;
  80.     }
  81.     public function getOfferTypeId(): ?int
  82.     {
  83.         return $this->OfferTypeId;
  84.     }
  85.     public function setOfferTypeId(int $OfferTypeId): self
  86.     {
  87.         $this->OfferTypeId $OfferTypeId;
  88.         return $this;
  89.     }
  90.     public function getUserLogin(): ?string
  91.     {
  92.         return $this->UserLogin;
  93.     }
  94.     public function setUserLogin(string $UserLogin): self
  95.     {
  96.         $this->UserLogin $UserLogin;
  97.         return $this;
  98.     }
  99.     public function getUserEmail(): ?string
  100.     {
  101.         return $this->UserEmail;
  102.     }
  103.     public function setUserEmail(string $UserEmail): self
  104.     {
  105.         $this->UserEmail $UserEmail;
  106.         return $this;
  107.     }
  108.     public function getUserFirstName(): ?string
  109.     {
  110.         return $this->UserFirstName;
  111.     }
  112.     public function setUserFirstName(?string $UserFirstName): self
  113.     {
  114.         $this->UserFirstName $UserFirstName;
  115.         return $this;
  116.     }
  117.     public function getUserLastName(): ?string
  118.     {
  119.         return $this->UserLastName;
  120.     }
  121.     public function setUserLastName(?string $UserLastName): self
  122.     {
  123.         $this->UserLastName $UserLastName;
  124.         return $this;
  125.     }
  126.     public function getUrl(): ?string
  127.     {
  128.         return $this->url;
  129.     }
  130.     public function setUrl(?string $url): self
  131.     {
  132.         $this->url $url;
  133.         return $this;
  134.     }
  135.     public function getLogin(): ?string
  136.     {
  137.         return $this->login;
  138.     }
  139.     public function setLogin(?string $login): self
  140.     {
  141.         $this->login $login;
  142.         return $this;
  143.     }
  144.     public function getPassword(): ?string
  145.     {
  146.         return $this->password;
  147.     }
  148.     public function setPassword(?string $password): self
  149.     {
  150.         $this->password $password;
  151.         return $this;
  152.     }
  153.     public function getDateCreation(): ?\DateTimeInterface
  154.     {
  155.         return $this->DateCreation;
  156.     }
  157.     public function setDateCreation(?\DateTimeInterface $DateCreation): self
  158.     {
  159.         $this->DateCreation $DateCreation;
  160.         return $this;
  161.     }
  162.     public function getLastAccessDate(): ?\DateTimeInterface
  163.     {
  164.         return $this->LastAccessDate;
  165.     }
  166.     public function setLastAccessDate(?\DateTimeInterface $LastAccessDate): self
  167.     {
  168.         $this->LastAccessDate $LastAccessDate;
  169.         return $this;
  170.     }
  171.     public function getTotalRead(): ?int
  172.     {
  173.         return $this->TotalRead;
  174.     }
  175.     public function setTotalRead(int $TotalRead): self
  176.     {
  177.         $this->TotalRead $TotalRead;
  178.         return $this;
  179.     }
  180.     public function getClient(): ?Client
  181.     {
  182.         return $this->client;
  183.     }
  184.     public function setClient(?Client $client): self
  185.     {
  186.         $this->client $client;
  187.         return $this;
  188.     }
  189. }