src/Entity/CompareParameterValueTranslation.php line 25

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.     use TranslationTrait;
  18.     /**
  19.      * @ORM\Id
  20.      * @ORM\Column(type="integer")
  21.      * @ORM\GeneratedValue
  22.      */
  23.     private ?int $id null;
  24. use BlameableTrait;
  25.     use TimestampableTrait;
  26.     
  27.     use SoftDeletableTrait;
  28.     /**
  29.      * @Doctrine\ORM\Mapping\Column(type="string", length=255)
  30.      */
  31.     protected $value;
  32.     public function getValue(): ?string
  33.     {
  34.         return $this->value;
  35.     }
  36.     public function setValue($value): self
  37.     {
  38.         $this->value $value;
  39.         return $this;
  40.     }
  41.     public function getId(): ?int
  42.     {
  43.         return $this->id;
  44.     }
  45. }