src/Entity/UserLog.php line 11

  1. <?php
  2. namespace App\Entity;
  3. use App\Entity\Traits\TimestampableTrait;
  4. use App\Repository\UserLogRepository;
  5. use Doctrine\DBAL\Types\Types;
  6. use Doctrine\ORM\Mapping as ORM;
  7. #[ORM\Entity(repositoryClassUserLogRepository::class)]
  8. class UserLog
  9. {
  10.     use TimestampableTrait;
  11.     #[ORM\Id]
  12.     #[ORM\GeneratedValue]
  13.     #[ORM\Column]
  14.     private ?int $id null;
  15.     #[ORM\Column(length50)]
  16.     private ?string $participationId null;
  17.     #[ORM\Column(nullabletrue)]
  18.     private array $sent = [];
  19.     public function getId(): ?int
  20.     {
  21.         return $this->id;
  22.     }
  23.     public function getParticipationId(): ?string
  24.     {
  25.         return $this->participationId;
  26.     }
  27.     public function setParticipationId(string $participationId): self
  28.     {
  29.         $this->participationId $participationId;
  30.         return $this;
  31.     }
  32.     public function getSent(): array
  33.     {
  34.         return $this->sent;
  35.     }
  36.     public function setSent(?array $sent): self
  37.     {
  38.         $this->sent $sent;
  39.         return $this;
  40.     }
  41. }