src/Entity/TrainingGroupAF.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\TrainingGroupAFRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassTrainingGroupAFRepository::class)]
  6. class TrainingGroupAF
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length255)]
  13.     private ?string $group_name null;
  14.     #[ORM\Column(length255nullabletrue)]
  15.     private ?string $af null;
  16.     #[ORM\Column(length255nullabletrue)]
  17.     private ?string $rf null;
  18.     #[ORM\ManyToOne(inversedBy'trainingGroupAFs')]
  19.     private ?Training $training null;
  20.     #[ORM\Column(length255nullabletrue)]
  21.     private ?string $af_email null;
  22.     #[ORM\Column(length255nullabletrue)]
  23.     private ?string $af_phone null;
  24.     public function getId(): ?int
  25.     {
  26.         return $this->id;
  27.     }
  28.     public function getGroupName(): ?string
  29.     {
  30.         return $this->group_name;
  31.     }
  32.     public function setGroupName(string $group_name): self
  33.     {
  34.         $this->group_name $group_name;
  35.         return $this;
  36.     }
  37.     public function getAf(): ?string
  38.     {
  39.         return $this->af;
  40.     }
  41.     public function setAf(?string $af): self
  42.     {
  43.         $this->af $af;
  44.         return $this;
  45.     }
  46.     public function getRf(): ?string
  47.     {
  48.         return $this->rf;
  49.     }
  50.     public function setRf(?string $rf): self
  51.     {
  52.         $this->rf $rf;
  53.         return $this;
  54.     }
  55.     public function getTraining(): ?Training
  56.     {
  57.         return $this->training;
  58.     }
  59.     public function setTraining(?Training $training): self
  60.     {
  61.         $this->training $training;
  62.         return $this;
  63.     }
  64.     public function getAfEmail(): ?string
  65.     {
  66.         return $this->af_email;
  67.     }
  68.     public function setAfEmail(?string $af_email): self
  69.     {
  70.         $this->af_email $af_email;
  71.         return $this;
  72.     }
  73.     public function getAfPhone(): ?string
  74.     {
  75.         return $this->af_phone;
  76.     }
  77.     public function setAfPhone(?string $af_phone): self
  78.     {
  79.         $this->af_phone $af_phone;
  80.         return $this;
  81.     }
  82. }