src/Entity/Formation.php line 12
<?phpnamespace App\Entity;use App\Repository\FormationRepository;use Doctrine\Common\Collections\Collection;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: FormationRepository::class)]class Formation{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(length: 255, nullable: true)]private ?string $nomFormation = '';#[ORM\Column(length: 255, nullable: true)]private ?string $dureeFormation = '';#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $timesheet = '';#[ORM\Column(length: 255, nullable: true)]private ?string $linkType = null;#[ORM\Column(length: 255,nullable: true)]private ?string $lienFormation = '';#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $lieuFormation = '';#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $formationAddress = '';#[ORM\Column(length: 255,nullable: true)]private ?string $lieuSignature = '';#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $objective = '';#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $infoTrainees = '';#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $infoCustomer = '';#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $infoFormateur = '';#[ORM\Column(length: 255,nullable: true)]private ?string $pdfFormation = '';#[ORM\ManyToOne(targetEntity: Link::class, inversedBy: "formations")]private ?Link $linkToProgram = null;#[ORM\ManyToOne(targetEntity: Link::class, inversedBy: "formations")]private ?Link $linkToLivretAccueil = null;#[ORM\ManyToOne(targetEntity: Link::class, inversedBy: "formations")]private ?Link $linkGuide = null;#[ORM\ManyToOne(targetEntity: Link::class, inversedBy: "formations")]private ?Link $linkFormulaire = null;#[ORM\ManyToOne(targetEntity: User::class, inversedBy: "formations")]private ?User $formateur;#[ORM\ManyToMany(targetEntity: Customer::class, inversedBy: "formations",cascade: ['persist', 'remove'])]private ?Collection $customers;#[ORM\ManyToOne(targetEntity: Financier::class, inversedBy: "formations")]private ?Financier $financier;#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]private ?\DateTimeInterface $dateDebutFormation = null;#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]private ?\DateTimeInterface $dateFinFormation = null;#[ORM\ManyToOne(targetEntity: Link::class, inversedBy: "formations")]private ?Link $linkformateur = null;#[ORM\Column]private ?int $status = 0;#[ORM\Column(length: 255,nullable: true)]private ?string $type = "";#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $mailFormateurText = '';#[ORM\Column(length: 255, nullable: true)]private ?string $linkDrive = null;#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $otherLink = '';public function __construct(){$this->customers = new ArrayCollection();}public function getId(): ?int{return $this->id;}public function getNomFormation(): ?string{return $this->nomFormation;}public function setNomFormation(string $nomFormation): self{$this->nomFormation = $nomFormation;return $this;}public function getDureeFormation(): ?string{return $this->dureeFormation;}public function setDureeFormation(string $dureeFormation): self{$this->dureeFormation = $dureeFormation;return $this;}public function getLinkType(): ?string{return $this->linkType;}public function setLinkType(string $linkType): self{$this->linkType = $linkType;return $this;}public function getLienFormation(): ?string{return $this->lienFormation;}public function setLienFormation(string $lienFormation): self{$this->lienFormation = $lienFormation;return $this;}public function getLieuFormation(): ?string{return $this->lieuFormation;}public function setLieuFormation(string $lieuFormation): self{$this->lieuFormation = $lieuFormation;return $this;}public function getPdfFormation(): ?string{return $this->pdfFormation;}public function setPdfFormation(string $pdfFormation): self{$this->pdfFormation = $pdfFormation;return $this;}public function getFormateur(): ?User{return $this->formateur;}public function setFormateur(?User $formateur): self{$this->formateur = $formateur;return $this;}public function getDateDebutFormation(): ?\DateTimeInterface{return $this->dateDebutFormation;}public function setDateDebutFormation(?\DateTimeInterface $dateDebutFormation): self{$this->dateDebutFormation = $dateDebutFormation;return $this;}public function getDateFinFormation(): ?\DateTimeInterface{return $this->dateFinFormation;}public function setDateFinFormation(?\DateTimeInterface $dateFinFormation): self{$this->dateFinFormation = $dateFinFormation;return $this;}public function getTimesheet(): ?string{return $this->timesheet;}public function setTimesheet(string $timesheet): self{$this->timesheet = $timesheet;return $this;}public function getFormationAddress(): ?string{return $this->formationAddress;}public function setFormationAddress(string $formationAddress): self{$this->formationAddress = $formationAddress;return $this;}public function getLieuSignature(): ?string{return $this->lieuSignature;}public function setLieuSignature(string $lieuSignature): self{$this->lieuSignature = $lieuSignature;return $this;}public function getObjective(): ?string{return $this->objective;}public function setObjective(string $objective): self{$this->objective = $objective;return $this;}public function getInfoFormateur(): ?string{return $this->infoFormateur;}public function setInfoFormateur(string $infoFormateur): self{$this->infoFormateur = $infoFormateur;return $this;}public function getInfoCustomer(): ?string{return $this->infoCustomer;}public function setInfoCustomer(string $infoCustomer): self{$this->infoCustomer = $infoCustomer;return $this;}public function getInfoTrainees(): ?string{return $this->infoTrainees;}public function setInfoTrainees(string $infoTrainees): self{$this->infoTrainees = $infoTrainees;return $this;}public function getLinkToProgram(): ?Link{return $this->linkToProgram;}public function setLinkToProgram(?Link $linkToProgram): self{$this->linkToProgram= $linkToProgram;return $this;}public function getLinkToLivretAccueil(): ?Link{return $this->linkToLivretAccueil;}public function setLinkToLivretAccueil(?Link $linkToLivretAccueil): self{$this->linkToLivretAccueil = $linkToLivretAccueil;return $this;}public function getLinkGuide(): ?Link{return $this->linkGuide;}public function setLinkGuide(?Link $linkGuide): self{$this->linkGuide = $linkGuide;return $this;}public function getLinkFormulaire(): ?Link{return $this->linkFormulaire;}public function setLinkFormulaire(?Link $linkFormulaire): self{$this->linkFormulaire = $linkFormulaire;return $this;}public function getCustomers(): Collection{return $this->customers;}public function addCustomer(Customer $customer): self{if (!$this->customers->contains($customer)) {$this->customers[] = $customer;}return $this;}public function removeCustomer(Customer $customer): self{$this->customers->removeElement($customer);return $this;}public function getFinancier(): ?Financier{return $this->financier;}public function setFinancier(?Financier $financier): self{$this->financier = $financier;return $this;}public function getLinkFormateur(): ?Link{return $this->linkformateur;}public function setLinkformateur(?Link $linkformateur): self{$this->linkformateur = $linkformateur;return $this;}public function getStatus(): ?int{return $this->status;}/*** @param int $status* @return $this*/public function setStatus(int $status): self{$this->status = $status;return $this;}public function getMailFormateurText(): ?string{return $this->mailFormateurText;}public function setMailFormateurText(string $mailFormateurText): self{$this->mailFormateurText = $mailFormateurText;return $this;}public function getType(): ?string{return $this->type;}public function setType(string $type): self{$this->type = $type;return $this;}public function getLinkDrive(): ?string{return $this->linkDrive;}public function setLinkDrive(string $linkDrive): self{$this->linkDrive = $linkDrive;return $this;}public function getOtherLink(): ?string{return $this->otherLink;}public function setOtherLink(?string $otherLink): self{$this->otherLink = $otherLink;return $this;}}