src/Entity/UserLastDayEvent.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\UserLastDayEventRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Gedmo\Mapping\Annotation as Gedmo;
  6. /**
  7.  * @ORM\Entity(repositoryClass=UserLastDayEventRepository::class)
  8.  */
  9. class UserLastDayEvent
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="integer")
  19.      */
  20.     private $dayId;
  21.     /**
  22.      * @ORM\Column(type="integer", nullable=true)
  23.      */
  24.     private $tvUserId;
  25.     /**
  26.      * @ORM\Column(type="integer")
  27.      */
  28.     private $userId;
  29.     /**
  30.      * @ORM\Column(type="integer", nullable=true)
  31.      */
  32.     private $programId;
  33.     /**
  34.      * @ORM\Column(type="datetime")
  35.      * @Gedmo\Timestampable
  36.      */
  37.     private $createdAt;
  38.     /**
  39.      * @ORM\Column(type="string", length=255, nullable=true)
  40.      */
  41.     private $type;
  42.     public function getId(): ?int
  43.     {
  44.         return $this->id;
  45.     }
  46.     public function getDayId(): ?int
  47.     {
  48.         return $this->dayId;
  49.     }
  50.     public function setDayId(int $dayId): self
  51.     {
  52.         $this->dayId $dayId;
  53.         return $this;
  54.     }
  55.     public function getTvUserId(): ?int
  56.     {
  57.         return $this->tvUserId;
  58.     }
  59.     public function setTvUserId(int $tvUserId): self
  60.     {
  61.         $this->tvUserId $tvUserId;
  62.         return $this;
  63.     }
  64.     public function getUserId(): ?int
  65.     {
  66.         return $this->userId;
  67.     }
  68.     public function setUserId(int $userId): self
  69.     {
  70.         $this->userId $userId;
  71.         return $this;
  72.     }
  73.     public function getProgramId(): ?int
  74.     {
  75.         return $this->programId;
  76.     }
  77.     public function setProgramId(?int $programId): self
  78.     {
  79.         $this->programId $programId;
  80.         return $this;
  81.     }
  82.     public function getCreatedAt(): ?\DateTimeInterface
  83.     {
  84.         return $this->createdAt;
  85.     }
  86.     public function setCreatedAt(\DateTimeInterface $createdAt): self
  87.     {
  88.         $this->createdAt $createdAt;
  89.         return $this;
  90.     }
  91.     public function getType(): ?string
  92.     {
  93.         return $this->type;
  94.     }
  95.     public function setType(?string $type): self
  96.     {
  97.         $this->type $type;
  98.         return $this;
  99.     }
  100. }