<?php
namespace App\Entity;
use App\Repository\SqlMigrationRepository;
use App\Traits\DateTrait;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=SqlMigrationRepository::class)
*/
class SqlMigration
{
use DateTrait;
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private ?int $id = NULL;
/**
* @ORM\Column(type="string", length=255)
*/
private ?string $fileName = NULL;
public function getId(): ?int
{
return $this->id;
}
public function getFileName(): ?string
{
return $this->fileName;
}
public function setFileName(string $fileName): self
{
$this->fileName = $fileName;
return $this;
}
}