25 lines
367 B
PHP
25 lines
367 B
PHP
<?php
|
|
|
|
namespace App\Core\Site;
|
|
|
|
use App\Repository\Site\NodeRepository;
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* @ORM\Entity(repositoryClass=NodeRepository::class)
|
|
*/
|
|
class Node
|
|
{
|
|
/**
|
|
* @ORM\Id
|
|
* @ORM\GeneratedValue
|
|
* @ORM\Column(type="integer")
|
|
*/
|
|
private $id;
|
|
|
|
public function getId(): ?int
|
|
{
|
|
return $this->id;
|
|
}
|
|
}
|