Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
web
/
vhosts
/
www.humitest.fr
/
htdocs
/
src
/
Entity
/
/srv/data/web/vhosts/www.humitest.fr/htdocs/src/Entity/Information.php
<?php namespace App\Entity; use Symfony\Component\Validator\Constraints as Assert; class Information { private $companyName; /** * @Assert\NotBlank(message="Le champ ne peut pas être vide!") */ private $firstname; /** * @Assert\NotBlank(message="Le champ ne peut pas être vide!") */ private $lastname; /** * @Assert\NotBlank(message="Le champ ne peut pas être vide!") * @Assert\Email */ private $email; /** * @Assert\NotBlank(message="Le champ ne peut pas être vide!") * @Assert\Regex("/^(?:(?:\+|00)33|0)\s*[1-9](?:[\s.-]*\d{2}){4}$/") */ private $phone; private $address; private $zipcode; private $city; private $country; // ADRESSE DE LIVRAISON 2 private $companyName2; private $firstname2; private $lastname2; private $phone2; private $email2; private $country2; private $address2; private $zipcode2; private $city2; private $noteCommande; private $code; public function getCompanyName(): ?string { return $this->companyName; } public function setCompanyName(string $companyName): self { $this->companyName = $companyName; return $this; } public function getFirstname(): ?string { return $this->firstname; } public function setFirstname(string $firstname): self { $this->firstname = $firstname; return $this; } public function getLastname(): ?string { return $this->lastname; } public function setLastname(string $lastname): self { $this->lastname = $lastname; return $this; } public function getEmail(): ?string { return $this->email; } public function setEmail(string $email): self { $this->email = $email; return $this; } public function getPhone(): ?string { return $this->phone; } public function setPhone(string $phone): self { $this->phone = $phone; return $this; } public function getAddress(): ?string { return $this->address; } public function setAddress(string $address): self { $this->address = $address; return $this; } public function getZipcode(): ?string { return $this->zipcode; } public function setZipcode(string $zipcode): self { $this->zipcode = $zipcode; return $this; } public function getCity(): ?string { return $this->city; } public function setCity(string $city): self { $this->city = $city; return $this; } public function getCountry(): ?string { return $this->country; } public function setCountry(string $country): self { $this->country = $country; return $this; } // GETTERS ADRESSE DE LIVRAISON 2 public function getCompanyName2(): ?string { return $this->companyName2; } public function setCompanyName2(string $companyName2): self { $this->companyName2 = $companyName2; return $this; } public function getFirstname2(): ?string { return $this->firstname2; } public function setFirstname2(string $firstname2): self { $this->firstname2 = $firstname2; return $this; } public function getLastname2(): ?string { return $this->lastname2; } public function setLastname2(string $lastname2): self { $this->lastname2 = $lastname2; return $this; } public function getEmail2(): ?string { return $this->email2; } public function setEmail2(string $email2): self { $this->email2 = $email2; return $this; } public function getPhone2(): ?string { return $this->phone2; } public function setPhone2(string $phone2): self { $this->phone2 = $phone2; return $this; } public function getCountry2(): ?string { return $this->country2; } public function setCountry2(string $country2): self { $this->country2 = $country2; return $this; } public function getAddress2(): ?string { return $this->address2; } public function setAddress2(string $address2): self { $this->address2 = $address2; return $this; } public function getZipcode2(): ?string { return $this->zipcode2; } public function setZipcode2(string $zipcode2): self { $this->zipcode2 = $zipcode2; return $this; } public function getCity2(): ?string { return $this->city2; } public function setCity2(string $city2): self { $this->city2 = $city2; return $this; } public function getCode(): ?string { return $this->code; } public function setCode(string $code): self { $this->code = $code; return $this; } public function getNoteCommande(): ?string { return $this->noteCommande; } public function setNoteCommande(string $noteCommande): self { $this->noteCommande = $noteCommande; return $this; } }