src/Entity/FormService.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FormServiceRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Symfony\Component\Validator\Constraints as Assert;
  6. /**
  7.  * @ORM\Entity(repositoryClass=FormServiceRepository::class)
  8.  */
  9. class FormService extends BaseForm
  10. {
  11.     /**
  12.      * @ORM\Column(type="string")
  13.      * @Assert\Length(max="255")
  14.      * @Assert\NotBlank()
  15.      */
  16.     private $name;
  17.     /**
  18.      * @ORM\Column(type="string")
  19.      * @Assert\Length(max="255")
  20.      * @Assert\NotBlank()
  21.      */
  22.     private $lastname;
  23.     /**
  24.      * @ORM\Column(type="string")
  25.      * @Assert\Length(max="255")
  26.      * @Assert\NotBlank()
  27.      */
  28.     private $email;
  29.     /**
  30.      * @ORM\Column(type="string")
  31.      * @Assert\Length(max="255")
  32.      * @Assert\NotBlank()
  33.      */
  34.     private $phone;
  35.     /**
  36.      * @ORM\Column(type="string")
  37.      * @Assert\Length(max="255")
  38.      * @Assert\NotBlank()
  39.      */
  40.     private $type_service;
  41.     /**
  42.      * @ORM\Column(type="string")
  43.      * @Assert\Length(max="255")
  44.      * @Assert\NotBlank()
  45.      */
  46.     private $type_store;
  47.     /**
  48.      * FormService constructor.
  49.      */
  50.     public function __construct()
  51.     {
  52.         parent::__construct();
  53.     }
  54.     public function getName(): ?string
  55.     {
  56.         return $this->name;
  57.     }
  58.     public function setName(string $name): self
  59.     {
  60.         $this->name $name;
  61.         return $this;
  62.     }
  63.     public function getLastname(): ?string
  64.     {
  65.         return $this->lastname;
  66.     }
  67.     public function setLastname(string $lastname): self
  68.     {
  69.         $this->lastname $lastname;
  70.         return $this;
  71.     }
  72.     public function getEmail(): ?string
  73.     {
  74.         return $this->email;
  75.     }
  76.     public function setEmail(string $email): self
  77.     {
  78.         $this->email $email;
  79.         return $this;
  80.     }
  81.     public function getPhone(): ?string
  82.     {
  83.         return $this->phone;
  84.     }
  85.     public function setPhone(string $phone): self
  86.     {
  87.         $this->phone $phone;
  88.         return $this;
  89.     }
  90.     public function getTypeService(): ?string
  91.     {
  92.         return $this->type_service;
  93.     }
  94.     public function setTypeService(string $type_service): self
  95.     {
  96.         $this->type_service $type_service;
  97.         return $this;
  98.     }
  99.     public function getTypeStore(): ?string
  100.     {
  101.         return $this->type_store;
  102.     }
  103.     public function setTypeStore(string $type_store): self
  104.     {
  105.         $this->type_store $type_store;
  106.         return $this;
  107.     }
  108. }