38 lines
683 B
PHP
38 lines
683 B
PHP
<?php
|
|
|
|
namespace App\Entity;
|
|
|
|
//use App\Repository\UserRepository;
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
#[ORM\Entity()]
|
|
#[ORM\Table(name: 'lis_contesto_funz')]
|
|
class VocabFuncContext implements \App\VocabInterface
|
|
{
|
|
#[ORM\Id]
|
|
#[ORM\GeneratedValue]
|
|
#[ORM\Column(name: 'id_lis_contesto')]
|
|
private ?int $id = null;
|
|
|
|
#[ORM\Column(length: 80, name: 'lis_contesto')]
|
|
private ?string $term = null;
|
|
|
|
public function getId(): ?int
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function getTerm(): ?string
|
|
{
|
|
return $this->term;
|
|
}
|
|
|
|
public function setTerm(string $term): static
|
|
{
|
|
$this->term = $term;
|
|
|
|
return $this;
|
|
}
|
|
}
|
|
|