src/Entity/DoctrineMigrationVersions.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * DoctrineMigrationVersions
  6. *
  7. * @ORM\Table(name="doctrine_migration_versions")
  8. * @ORM\Entity
  9. */
  10. class DoctrineMigrationVersions
  11. {
  12. /**
  13. * @var string
  14. *
  15. * @ORM\Column(name="version", type="string", length=191, nullable=false)
  16. * @ORM\Id
  17. * @ORM\GeneratedValue(strategy="IDENTITY")
  18. */
  19. private $version;
  20. /**
  21. * @var \DateTime|null
  22. *
  23. * @ORM\Column(name="executed_at", type="datetime", nullable=true)
  24. */
  25. private $executedAt;
  26. /**
  27. * @var int|null
  28. *
  29. * @ORM\Column(name="execution_time", type="integer", nullable=true)
  30. */
  31. private $executionTime;
  32. public function getVersion(): ?string
  33. {
  34. return $this->version;
  35. }
  36. public function getExecutedAt(): ?\DateTimeInterface
  37. {
  38. return $this->executedAt;
  39. }
  40. public function setExecutedAt(?\DateTimeInterface $executedAt): self
  41. {
  42. $this->executedAt = $executedAt;
  43. return $this;
  44. }
  45. public function getExecutionTime(): ?int
  46. {
  47. return $this->executionTime;
  48. }
  49. public function setExecutionTime(?int $executionTime): self
  50. {
  51. $this->executionTime = $executionTime;
  52. return $this;
  53. }
  54. }