src/Entity/Adherent/OperateursRemboursement.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Adherent;
  3. use App\Repository\Adherent\OperateursRemboursementRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassOperateursRemboursementRepository::class)]
  6. class OperateursRemboursement implements \Stringable
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'string'length255)]
  13.     private $name;
  14.     #[ORM\Column(type'string'length255nullabletrue)]
  15.     private $progressIdentifier;
  16.     public function __toString(): string{
  17.         return (string) $this->name;
  18.     }
  19.     public function getId(): ?int
  20.     {
  21.         return $this->id;
  22.     }
  23.     public function getName(): ?string
  24.     {
  25.         return $this->name;
  26.     }
  27.     public function setName(string $name): self
  28.     {
  29.         $this->name $name;
  30.         return $this;
  31.     }
  32.     /**
  33.      * @return mixed
  34.      */
  35.     public function getProgressIdentifier(): ?string
  36.     {
  37.         return $this->progressIdentifier;
  38.     }
  39.     /**
  40.      * @param mixed $progressIdentifier
  41.      */
  42.     public function setProgressIdentifier(?string $progressIdentifier): void
  43.     {
  44.         $this->progressIdentifier $progressIdentifier;
  45.     }
  46. }