src/Entity/Main/ApiPropertiesSupertype.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Main;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * ApiPropertiesSupertype
  6.  *
  7.  * @ORM\Table(name="api_properties_supertype")
  8.  * @ORM\Entity(repositoryClass="App\Repository\Main\ApiPropertiesSupertypeRepository")
  9.  */
  10. class ApiPropertiesSupertype
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id_properties_supertype", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $idPropertiesSupertype;
  20.     /**
  21.      * @var string
  22.      *
  23.      * @ORM\Column(name="nom", type="string", length=255, nullable=false)
  24.      */
  25.     private $nom;
  26.     /**
  27.      * @var int
  28.      *
  29.      * @ORM\Column(name="codi", type="integer", nullable=false)
  30.      */
  31.     private $codi;
  32.     /**
  33.      * @var int
  34.      *
  35.      * @ORM\Column(name="ordre", type="integer", nullable=false)
  36.      */
  37.     private $ordre;
  38.     public function getIdPropertiesSupertype(): ?int
  39.     {
  40.         return $this->idPropertiesSupertype;
  41.     }
  42.     public function getNom(): ?string
  43.     {
  44.         return $this->nom;
  45.     }
  46.     public function setNom(string $nom): self
  47.     {
  48.         $this->nom $nom;
  49.         return $this;
  50.     }
  51.     public function getCodi(): ?int
  52.     {
  53.         return $this->codi;
  54.     }
  55.     public function setCodi(int $codi): self
  56.     {
  57.         $this->codi $codi;
  58.         return $this;
  59.     }
  60.     public function getOrdre(): ?int
  61.     {
  62.         return $this->ordre;
  63.     }
  64.     public function setOrdre(int $ordre): self
  65.     {
  66.         $this->ordre $ordre;
  67.         return $this;
  68.     }
  69. }