. */ namespace App\Entity\Parameters; use App\Entity\Devices\Device; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity() * @package App\Entity\Parameters */ class DeviceParameter extends AbstractParameter { public const ALLOWED_ELEMENT_CLASS = Device::class; /** * @var Device the element this para is associated with * @ORM\ManyToOne(targetEntity="App\Entity\Devices\Device", inversedBy="parameters") * @ORM\JoinColumn(name="element_id", referencedColumnName="id", nullable=false, onDelete="CASCADE"). */ protected $element; }