<?php
namespace App\Entity;
use App\Repository\TrainingGroupAFRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: TrainingGroupAFRepository::class)]
class TrainingGroupAF
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $group_name = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $af = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $rf = null;
#[ORM\ManyToOne(inversedBy: 'trainingGroupAFs')]
private ?Training $training = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $af_email = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $af_phone = null;
public function getId(): ?int
{
return $this->id;
}
public function getGroupName(): ?string
{
return $this->group_name;
}
public function setGroupName(string $group_name): self
{
$this->group_name = $group_name;
return $this;
}
public function getAf(): ?string
{
return $this->af;
}
public function setAf(?string $af): self
{
$this->af = $af;
return $this;
}
public function getRf(): ?string
{
return $this->rf;
}
public function setRf(?string $rf): self
{
$this->rf = $rf;
return $this;
}
public function getTraining(): ?Training
{
return $this->training;
}
public function setTraining(?Training $training): self
{
$this->training = $training;
return $this;
}
public function getAfEmail(): ?string
{
return $this->af_email;
}
public function setAfEmail(?string $af_email): self
{
$this->af_email = $af_email;
return $this;
}
public function getAfPhone(): ?string
{
return $this->af_phone;
}
public function setAfPhone(?string $af_phone): self
{
$this->af_phone = $af_phone;
return $this;
}
}