src/Entity/Devis.php line 9

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\DevisRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassDevisRepository::class)]
  6. class Devis
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length255)]
  13.     private ?string $name null;
  14.     #[ORM\Column(length255)]
  15.     private ?string $firstname null;
  16.     #[ORM\Column(length255)]
  17.     private ?string $mail null;
  18.     #[ORM\Column(length255)]
  19.     private ?string $subject null;
  20.     #[ORM\Column(length2)]
  21.     private ?string $people null;
  22.     public function getId(): ?int
  23.     {
  24.         return $this->id;
  25.     }
  26.     public function getName(): ?string
  27.     {
  28.         return $this->name;
  29.     }
  30.     public function setName(string $name): self
  31.     {
  32.         $this->name $name;
  33.         return $this;
  34.     }
  35.     public function getFirstname(): ?string
  36.     {
  37.         return $this->firstname;
  38.     }
  39.     public function setFirstname(string $firstname): self
  40.     {
  41.         $this->firstname $firstname;
  42.         return $this;
  43.     }
  44.     public function getMail(): ?string
  45.     {
  46.         return $this->mail;
  47.     }
  48.     public function setMail(string $mail): self
  49.     {
  50.         $this->mail $mail;
  51.         return $this;
  52.     }
  53.     public function getSubject(): ?string
  54.     {
  55.         return $this->subject;
  56.     }
  57.     public function setSubject(string $subject): self
  58.     {
  59.         $this->subject $subject;
  60.         return $this;
  61.     }
  62.     public function getPeople(): ?string
  63.     {
  64.         return $this->people;
  65.     }
  66.     public function setPeople(string $people): self
  67.     {
  68.         $this->people $people;
  69.         return $this;
  70.     }
  71. }