<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Table(name: 'doctrine_migration_versions')]
#[ORM\Entity]
class DoctrineMigrationVersions
{
#[ORM\Column(name: 'version', type: 'string', length: 191, nullable: false)]
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
private $version;
#[ORM\Column(name: 'executed_at', type: 'datetime', nullable: true)]
private $executedAt;
#[ORM\Column(name: 'execution_time', type: 'integer', nullable: true)]
private $executionTime;
public function getVersion(): ?string
{
return $this->version;
}
public function getExecutedAt(): ?\DateTimeInterface
{
return $this->executedAt;
}
public function setExecutedAt(?\DateTimeInterface $executedAt): self
{
$this->executedAt = $executedAt;
return $this;
}
public function getExecutionTime(): ?int
{
return $this->executionTime;
}
public function setExecutionTime(?int $executionTime): self
{
$this->executionTime = $executionTime;
return $this;
}
}