src/Entity/CompareParameterValueTranslation.php line 19

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Knp\DoctrineBehaviors\Contract\Entity\SoftDeletableInterface;
  4. use Knp\DoctrineBehaviors\Model\SoftDeletable\SoftDeletableTrait;
  5. use Knp\DoctrineBehaviors\Contract\Entity\TimestampableInterface;
  6. use Knp\DoctrineBehaviors\Model\Timestampable\TimestampableTrait;
  7. use Knp\DoctrineBehaviors\Contract\Entity\BlameableInterface;
  8. use Knp\DoctrineBehaviors\Model\Blameable\BlameableTrait;
  9. use Knp\DoctrineBehaviors\Model\Translatable\TranslationTrait;
  10. use Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface;
  11. use Doctrine\ORM\Mapping as ORM;
  12. /**
  13.  * @Doctrine\ORM\Mapping\Entity
  14.  * @Doctrine\ORM\Mapping\Table(name="compare_parameter_value_translation")
  15.  */
  16. class CompareParameterValueTranslation implements TranslationInterfaceBlameableInterfaceTimestampableInterfaceSoftDeletableInterface   {
  17.     /**
  18.      * @ORM\Id
  19.      * @ORM\Column(type="integer")
  20.      * @ORM\GeneratedValue
  21.      */
  22.     private ?int $id null;
  23.     use TranslationTrait;
  24.     use BlameableTrait;
  25.     use TimestampableTrait;
  26.     use SoftDeletableTrait;
  27.     /**
  28.      * @Doctrine\ORM\Mapping\Column(type="string", length=255, nullable=true)
  29.      */
  30.     protected $value;
  31.     public function getValue(): ?string
  32.     {
  33.         return $this->value;
  34.     }
  35.     public function setValue($value): self
  36.     {
  37.         $this->value $value;
  38.         return $this;
  39.     }
  40.     public function getId(): ?int
  41.     {
  42.         return $this->id;
  43.     }
  44. }