|
- <?php
-
- namespace App\Entity;
-
- use App\Repository\ConfigurationRepository;
- use Doctrine\ORM\Mapping as ORM;
- use Lc\SovBundle\Doctrine\EntityInterface;
- use Lc\SovBundle\Doctrine\Extension\DevAliasInterface;
- use Lc\SovBundle\Doctrine\Extension\DevAliasTrait;
-
- /**
- * @ORM\Entity(repositoryClass=ConfigurationRepository::class)
- */
- class Configuration implements DevAliasInterface, EntityInterface
- {
- use DevAliasTrait;
-
- /**
- * @ORM\Id
- * @ORM\GeneratedValue
- * @ORM\Column(type="integer")
- */
- private $id;
-
- /**
- * @ORM\Column(type="string", length=255)
- */
- private $value;
-
- public function __toString()
- {
- return $this->value;
- }
-
- public function getId(): ?int
- {
- return $this->id;
- }
-
- public function getValue(): ?string
- {
- return $this->value;
- }
-
- public function setValue(string $value): self
- {
- $this->value = $value;
-
- return $this;
- }
- }
|