2018-09-13 14:39:03 +02:00
|
|
|
<?php
|
2018-09-13 16:51:58 +02:00
|
|
|
|
2018-09-13 14:39:03 +02:00
|
|
|
namespace App\Entity;
|
|
|
|
|
|
|
|
use App\Entity\Attribut\IdAttribut;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author kevinfrantz
|
|
|
|
*/
|
|
|
|
class AbstractEntity
|
|
|
|
{
|
|
|
|
use IdAttribut;
|
2018-09-13 16:51:58 +02:00
|
|
|
|
2018-09-13 14:39:03 +02:00
|
|
|
/**
|
|
|
|
* @ORM\Id()
|
|
|
|
* @ORM\GeneratedValue
|
|
|
|
* @ORM\Column(type="integer")(strategy="AUTO")
|
2018-09-13 16:51:58 +02:00
|
|
|
*
|
2018-09-13 14:39:03 +02:00
|
|
|
* @var int
|
|
|
|
*/
|
|
|
|
protected $id;
|
2018-09-13 22:35:32 +02:00
|
|
|
|
|
|
|
protected function __construct()
|
|
|
|
{
|
2018-09-14 18:26:09 +02:00
|
|
|
$this->id = 0;
|
2018-09-13 22:35:32 +02:00
|
|
|
}
|
2018-09-13 14:39:03 +02:00
|
|
|
}
|