true])] private ?DateTimeInterface $expiryDate; #[ORM\Column] private mixed $token; #[ORM\Column(type: 'date', options: ['nullable' => true])] private ?DateTimeInterface $createDate; #[ORM\Column(type: 'date', options: ['nullable' => true])] private ?DateTimeInterface $updateDate; #[ORM\Column(type: 'integer', options: ['nullable' => true])] private int $legacyId; #[ORM\Column(type: 'integer', options: ['nullable' => true])] private int $createdBy; #[ORM\Column(type: 'integer', options: ['nullable' => true])] private int $updatedBy; #[ORM\Column(options: ['default' => false])] private bool $draft; #[ORM\ManyToOne(targetEntity: Access::class, cascade: [], inversedBy: 'tokens')] #[ORM\JoinColumn(referencedColumnName: 'id', nullable: false, onDelete: 'SET NULL')] private App\Entity\Access\Access $access; function getId(): int { return $this->id; } function setId(int $id): self { $this->id = $id; return $this; } function getType(): mixed { return $this->type; } function setType(mixed $type): self { $this->type = $type; return $this; } function getExpiryDate(): DateTimeInterface { return $this->expiryDate; } function setExpiryDate(DateTimeInterface $expiryDate): self { $this->expiryDate = $expiryDate; return $this; } function getToken(): mixed { return $this->token; } function setToken(mixed $token): self { $this->token = $token; return $this; } function getCreateDate(): DateTimeInterface { return $this->createDate; } function setCreateDate(DateTimeInterface $createDate): self { $this->createDate = $createDate; return $this; } function getUpdateDate(): DateTimeInterface { return $this->updateDate; } function setUpdateDate(DateTimeInterface $updateDate): self { $this->updateDate = $updateDate; return $this; } function getLegacyId(): int { return $this->legacyId; } function setLegacyId(int $legacyId): self { $this->legacyId = $legacyId; return $this; } function getCreatedBy(): int { return $this->createdBy; } function setCreatedBy(int $createdBy): self { $this->createdBy = $createdBy; return $this; } function getUpdatedBy(): int { return $this->updatedBy; } function setUpdatedBy(int $updatedBy): self { $this->updatedBy = $updatedBy; return $this; } function getDraft(): bool { return $this->draft; } function setDraft(bool $draft): self { $this->draft = $draft; return $this; } function getAccess(): App\Entity\Access\Access { return $this->access; } function setAccess(App\Entity\Access\Access $access): self { $this->access = $access; return $this; } }