src/Entity/Gos/UserApplication.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Gos;
  3. use App\Repository\Gos\UserApplicationRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=UserApplicationRepository::class)
  7.  */
  8. class UserApplication
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\OneToOne(targetEntity=User::class, cascade={"persist", "remove"})
  18.      * @ORM\JoinColumn(nullable=false)
  19.      */
  20.     private $user;
  21.     /**
  22.      * @ORM\Column(type="text", nullable=true)
  23.      */
  24.     private $folders;
  25.     /**
  26.      * @ORM\Column(type="text", nullable=true)
  27.      */
  28.     private $savedArticles;
  29.     /**
  30.      * @ORM\Column(type="text", nullable=true)
  31.      */
  32.     private $readingProgress;
  33.     /**
  34.      * @ORM\Column(type="datetime", nullable=true)
  35.      */
  36.     private $foldersArticlesUpdateAt;
  37.     /**
  38.      * @ORM\Column(type="text", nullable=true)
  39.      */
  40.     private $lastSeen;
  41.     /**
  42.      * @ORM\Column(type="string", length=255, nullable=true)
  43.      */
  44.     private $recentBannerCoupon;
  45.     public function getId(): ?int
  46.     {
  47.         return $this->id;
  48.     }
  49.     public function getUser(): ?User
  50.     {
  51.         return $this->user;
  52.     }
  53.     public function setUser(User $user): self
  54.     {
  55.         $this->user $user;
  56.         return $this;
  57.     }
  58.     public function getFolders(): ?string
  59.     {
  60.         return $this->folders;
  61.     }
  62.     public function setFolders(?string $folders): self
  63.     {
  64.         $this->folders $folders;
  65.         return $this;
  66.     }
  67.     public function getSavedArticles(): ?string
  68.     {
  69.         return $this->savedArticles;
  70.     }
  71.     public function setSavedArticles(?string $savedArticles): self
  72.     {
  73.         $this->savedArticles $savedArticles;
  74.         return $this;
  75.     }
  76.     public function getReadingProgress(): ?string
  77.     {
  78.         return $this->readingProgress;
  79.     }
  80.     public function setReadingProgress(?string $readingProgress): self
  81.     {
  82.         $this->readingProgress $readingProgress;
  83.         return $this;
  84.     }
  85.     public function getFoldersArticlesUpdateAt(): ?\DateTimeInterface
  86.     {
  87.         return $this->foldersArticlesUpdateAt;
  88.     }
  89.     public function setFoldersArticlesUpdateAt(?\DateTimeInterface $foldersArticlesUpdateAt): self
  90.     {
  91.         $this->foldersArticlesUpdateAt $foldersArticlesUpdateAt;
  92.         return $this;
  93.     }
  94.     public function getLastSeen(): ?string
  95.     {
  96.         return $this->lastSeen;
  97.     }
  98.     public function setLastSeen($lastSeen): self
  99.     {
  100.         $this->lastSeen $lastSeen;
  101.         return $this;
  102.     }
  103.     public function getRecentBannerCoupon(): ?string
  104.     {
  105.         return $this->recentBannerCoupon;
  106.     }
  107.     public function setRecentBannerCoupon(?string $recentBannerCoupon): self
  108.     {
  109.         $this->recentBannerCoupon $recentBannerCoupon;
  110.         return $this;
  111.     }
  112. }