src/Entity/RefTypeContrat.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\RefTypeContratRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Gedmo\Mapping\Annotation as Gedmo;
  6. /**
  7.  * @ORM\Entity(repositoryClass=RefTypeContratRepository::class)
  8.  * @Gedmo\Loggable
  9.  */
  10. class RefTypeContrat
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.     /**
  19.      * @ORM\Column(type="string", length=255)
  20.      * @Gedmo\Versioned
  21.      */
  22.     private $typeContratLib;
  23.     /**
  24.      * @ORM\Column(type="string", length=255)
  25.      * @Gedmo\Versioned
  26.      */
  27.     private $typeContratLibCourt;
  28.     public function __toString()
  29.     {
  30.         return $this->getTypeContratLib();
  31.     }
  32.     public function getId(): ?int
  33.     {
  34.         return $this->id;
  35.     }
  36.     public function getTypeContratLib(): ?string
  37.     {
  38.         return $this->typeContratLib;
  39.     }
  40.     public function setTypeContratLib(string $typeContratLib): self
  41.     {
  42.         $this->typeContratLib $typeContratLib;
  43.         return $this;
  44.     }
  45.     public function getTypeContratLibCourt(): ?string
  46.     {
  47.         return $this->typeContratLibCourt;
  48.     }
  49.     public function setTypeContratLibCourt(string $typeContratLibCourt): self
  50.     {
  51.         $this->typeContratLibCourt $typeContratLibCourt;
  52.         return $this;
  53.     }
  54. }