mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Solved ORM bugs
This commit is contained in:
@@ -7,9 +7,13 @@ use App\Entity\Attribut\RecieverAttribut;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use App\DBAL\Types\RecieverType;
|
||||
use Symfony\Component\Intl\Exception\NotImplementedException;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use Fresh\DoctrineEnumBundle\Validator\Constraints as DoctrineAssert;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
* @ORM\Table(name="reciever_group")
|
||||
* @ORM\Entity()
|
||||
*/
|
||||
class RecieverGroup extends AbstractEntity implements RecieverGroupInterface
|
||||
{
|
||||
|
@@ -35,7 +35,7 @@ class Right extends AbstractEntity implements RightInterface
|
||||
protected $law;
|
||||
|
||||
/**
|
||||
* @ORM\Column(name="type", type="LayerType", nullable=false)
|
||||
* @ORM\Column(name="layer", type="LayerType", nullable=false)
|
||||
* @DoctrineAssert\Enum(entity="App\DBAL\Types\LayerType")
|
||||
*
|
||||
* @var string
|
||||
@@ -74,8 +74,8 @@ class Right extends AbstractEntity implements RightInterface
|
||||
protected $type;
|
||||
|
||||
/**
|
||||
* @ORM\OneToOne(targetEntity="AbstractOperation",cascade={"persist"},nullable=true)
|
||||
*
|
||||
* @ORM\OneToOne(targetEntity="AbstractOperation",cascade={"persist"})
|
||||
* @ORM\Column(nullable=true)
|
||||
* @var OperationInterface
|
||||
*/
|
||||
protected $condition;
|
||||
|
Reference in New Issue
Block a user