<?phpnamespace App\Entity;use App\Repository\FormServiceRepository;use Doctrine\ORM\Mapping as ORM;use Symfony\Component\Validator\Constraints as Assert;/** * @ORM\Entity(repositoryClass=FormServiceRepository::class) */class FormService extends BaseForm{ /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $name; /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $lastname; /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $email; /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $phone; /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $type_service; /** * @ORM\Column(type="string") * @Assert\Length(max="255") * @Assert\NotBlank() */ private $type_store; /** * FormService constructor. */ public function __construct() { parent::__construct(); } public function getName(): ?string { return $this->name; } public function setName(string $name): self { $this->name = $name; 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 getTypeService(): ?string { return $this->type_service; } public function setTypeService(string $type_service): self { $this->type_service = $type_service; return $this; } public function getTypeStore(): ?string { return $this->type_store; } public function setTypeStore(string $type_store): self { $this->type_store = $type_store; return $this; }}