<?php
namespace App\Entity;
use App\Repository\DataVersionRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: DataVersionRepository::class)]
class DataVersion
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column]
private ?int $versionCounter = null;
public function getId(): ?int
{
return $this->id;
}
public function getVersionCounter(): ?int
{
return $this->versionCounter;
}
public function setVersionCounter(int $versionCounter): static
{
$this->versionCounter = $versionCounter;
return $this;
}
}