src/Entity/TrombinoscopeURL.php line 9
<?php
namespace App\Entity;
use App\Repository\TrombinoscopeURLRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: TrombinoscopeURLRepository::class)]
class TrombinoscopeURL
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $original = null;
#[ORM\Column(length: 255)]
private ?string $short = null;
#[ORM\OneToOne(inversedBy: 'trombinoscopeURL', cascade: ['persist', 'remove'])]
private ?Program $program = null;
public function getId(): ?int
{
return $this->id;
}
public function getOriginal(): ?string
{
return $this->original;
}
public function setOriginal(string $original): self
{
$this->original = $original;
return $this;
}
public function getShort(): ?string
{
return $this->short;
}
public function setShort(string $short): self
{
$this->short = $short;
return $this;
}
public function getProgram(): ?Program
{
return $this->program;
}
public function setProgram(?Program $program): self
{
$this->program = $program;
return $this;
}
}