src/Entity/DoctrineMigrationVersions.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. #[ORM\Table(name: 'doctrine_migration_versions')]
  5. #[ORM\Entity]
  6. class DoctrineMigrationVersions
  7. {
  8. #[ORM\Column(name: 'version', type: 'string', length: 191, nullable: false)]
  9. #[ORM\Id]
  10. #[ORM\GeneratedValue(strategy: 'IDENTITY')]
  11. private $version;
  12. #[ORM\Column(name: 'executed_at', type: 'datetime', nullable: true)]
  13. private $executedAt;
  14. #[ORM\Column(name: 'execution_time', type: 'integer', nullable: true)]
  15. private $executionTime;
  16. public function getVersion(): ?string
  17. {
  18. return $this->version;
  19. }
  20. public function getExecutedAt(): ?\DateTimeInterface
  21. {
  22. return $this->executedAt;
  23. }
  24. public function setExecutedAt(?\DateTimeInterface $executedAt): self
  25. {
  26. $this->executedAt = $executedAt;
  27. return $this;
  28. }
  29. public function getExecutionTime(): ?int
  30. {
  31. return $this->executionTime;
  32. }
  33. public function setExecutionTime(?int $executionTime): self
  34. {
  35. $this->executionTime = $executionTime;
  36. return $this;
  37. }
  38. }