src/Entity/ActivityRequest.php line 9

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ActivityRequestRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassActivityRequestRepository::class)]
  6. class ActivityRequest
  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 $email null;
  18.     #[ORM\Column]
  19.     private ?int $phone null;
  20.     #[ORM\Column(length255)]
  21.     private ?string $city null;
  22.     #[ORM\Column(length255)]
  23.     private ?string $activity null;
  24.     #[ORM\Column(length255nullabletrue)]
  25.     private ?string $society null;
  26.     #[ORM\Column(length255)]
  27.     private ?string $request null;
  28.     #[ORM\Column(length3)]
  29.     private ?string $people null;
  30.     public function getId(): ?int
  31.     {
  32.         return $this->id;
  33.     }
  34.     public function getName(): ?string
  35.     {
  36.         return $this->name;
  37.     }
  38.     public function setName(string $name): self
  39.     {
  40.         $this->name $name;
  41.         return $this;
  42.     }
  43.     public function getFirstname(): ?string
  44.     {
  45.         return $this->firstname;
  46.     }
  47.     public function setFirstname(string $firstname): self
  48.     {
  49.         $this->firstname $firstname;
  50.         return $this;
  51.     }
  52.     public function getEmail(): ?string
  53.     {
  54.         return $this->email;
  55.     }
  56.     public function setEmail(string $email): self
  57.     {
  58.         $this->email $email;
  59.         return $this;
  60.     }
  61.     public function getPhone(): ?int
  62.     {
  63.         return $this->phone;
  64.     }
  65.     public function setPhone(int $phone): self
  66.     {
  67.         $this->phone $phone;
  68.         return $this;
  69.     }
  70.     public function getCity(): ?string
  71.     {
  72.         return $this->city;
  73.     }
  74.     public function setCity(string $city): self
  75.     {
  76.         $this->city $city;
  77.         return $this;
  78.     }
  79.     public function getActivity(): ?string
  80.     {
  81.         return $this->activity;
  82.     }
  83.     public function setActivity(string $activity): self
  84.     {
  85.         $this->activity $activity;
  86.         return $this;
  87.     }
  88.     public function getSociety(): ?string
  89.     {
  90.         return $this->society;
  91.     }
  92.     public function setSociety(?string $society): self
  93.     {
  94.         $this->society $society;
  95.         return $this;
  96.     }
  97.     public function getRequest(): ?string
  98.     {
  99.         return $this->request;
  100.     }
  101.     public function setRequest(string $request): self
  102.     {
  103.         $this->request $request;
  104.         return $this;
  105.     }
  106.     public function getPeople(): ?string
  107.     {
  108.         return $this->people;
  109.     }
  110.     public function setPeople(string $people): self
  111.     {
  112.         $this->people $people;
  113.         return $this;
  114.     }
  115. }