src/Entity/Devis.php line 9
<?php
namespace App\Entity;
use App\Repository\DevisRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: DevisRepository::class)]
class Devis
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $name = null;
#[ORM\Column(length: 255)]
private ?string $firstname = null;
#[ORM\Column(length: 255)]
private ?string $mail = null;
#[ORM\Column(length: 255)]
private ?string $subject = null;
#[ORM\Column(length: 2)]
private ?string $people = null;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getFirstname(): ?string
{
return $this->firstname;
}
public function setFirstname(string $firstname): self
{
$this->firstname = $firstname;
return $this;
}
public function getMail(): ?string
{
return $this->mail;
}
public function setMail(string $mail): self
{
$this->mail = $mail;
return $this;
}
public function getSubject(): ?string
{
return $this->subject;
}
public function setSubject(string $subject): self
{
$this->subject = $subject;
return $this;
}
public function getPeople(): ?string
{
return $this->people;
}
public function setPeople(string $people): self
{
$this->people = $people;
return $this;
}
}