mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Added new entity draft
This commit is contained in:
@@ -7,16 +7,22 @@ use App\Entity\Attribut\IdAttribut;
|
||||
use App\Entity\Attribut\SourceAttribut;
|
||||
use App\Entity\Attribut\ParentAttribut;
|
||||
use App\Entity\Attribut\ChildsAttribut;
|
||||
use App\Entity\Attribut\LawAttribut;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
* @ORM\Table(name="node")
|
||||
* @ORM\Entity(repositoryClass="App\Repository\NodeRepository")
|
||||
*/
|
||||
class Node implements NodeInterface
|
||||
class Node extends AbstractEntity implements NodeInterface
|
||||
{
|
||||
use IdAttribut,
|
||||
SourceAttribut,
|
||||
ParentAttribut,
|
||||
LawAttribut,
|
||||
ChildsAttribut;
|
||||
|
||||
public function __construct(){
|
||||
$this->law = new Law();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user