src/Entity/Main/ApiPropertiesFeatures.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Main;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * ApiPropertiesFeatures
  6.  *
  7.  * @ORM\Table(name="api_properties_features", indexes={@ORM\Index(name="id_feature", columns={"id_feature"}), @ORM\Index(name="id_property", columns={"id_property"})})
  8.  * @ORM\Entity(repositoryClass="App\Repository\Main\ApiPropertiesFeaturesRepository")
  9.  */
  10. class ApiPropertiesFeatures
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id_property", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="NONE")
  18.      */
  19.     private $idProperty;
  20.     /**
  21.      * @var int
  22.      *
  23.      * @ORM\Column(name="id_feature", type="integer", nullable=false)
  24.      * @ORM\Id
  25.      * @ORM\GeneratedValue(strategy="NONE")
  26.      */
  27.     private $idFeature;
  28.     /**
  29.      * @var int
  30.      *
  31.      * @ORM\Column(name="id_feature_type", type="integer", nullable=false)
  32.      */
  33.     private $idFeatureType;
  34.     /**
  35.      * @var string
  36.      *
  37.      * @ORM\Column(name="value", type="text", length=65535, nullable=false)
  38.      */
  39.     private $value;
  40.     public function getIdProperty(): ?int
  41.     {
  42.         return $this->idProperty;
  43.     }
  44.     public function getIdFeature(): ?int
  45.     {
  46.         return $this->idFeature;
  47.     }
  48.     public function getIdFeatureType(): ?int
  49.     {
  50.         return $this->idFeatureType;
  51.     }
  52.     public function setIdFeatureType(int $idFeatureType): self
  53.     {
  54.         $this->idFeatureType $idFeatureType;
  55.         return $this;
  56.     }
  57.     public function getValue(): ?string
  58.     {
  59.         return $this->value;
  60.     }
  61.     public function setValue(string $value): self
  62.     {
  63.         $this->value $value;
  64.         return $this;
  65.     }
  66. }