<?php
namespace App\Entity\Main;
use Doctrine\ORM\Mapping as ORM;
/**
* ApiPropertiesSupertype
*
* @ORM\Table(name="api_properties_supertype")
* @ORM\Entity(repositoryClass="App\Repository\Main\ApiPropertiesSupertypeRepository")
*/
class ApiPropertiesSupertype
{
/**
* @var int
*
* @ORM\Column(name="id_properties_supertype", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $idPropertiesSupertype;
/**
* @var string
*
* @ORM\Column(name="nom", type="string", length=255, nullable=false)
*/
private $nom;
/**
* @var int
*
* @ORM\Column(name="codi", type="integer", nullable=false)
*/
private $codi;
/**
* @var int
*
* @ORM\Column(name="ordre", type="integer", nullable=false)
*/
private $ordre;
public function getIdPropertiesSupertype(): ?int
{
return $this->idPropertiesSupertype;
}
public function getNom(): ?string
{
return $this->nom;
}
public function setNom(string $nom): self
{
$this->nom = $nom;
return $this;
}
public function getCodi(): ?int
{
return $this->codi;
}
public function setCodi(int $codi): self
{
$this->codi = $codi;
return $this;
}
public function getOrdre(): ?int
{
return $this->ordre;
}
public function setOrdre(int $ordre): self
{
$this->ordre = $ordre;
return $this;
}
}