src/Entity/DepoQualiop.php line 10
<?phpnamespace App\Entity;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;use App\Repository\DepoQualiopRepository;#[ORM\Entity(repositoryClass: DepoQualiopRepository::class)]#[ORM\Table(name: 'depo_qualiop')]class DepoQualiop{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;// ── Relations ──────────────────────────────────────────────#[ORM\ManyToOne(targetEntity: Formation::class)]#[ORM\JoinColumn(name: 'formation_id', referencedColumnName: 'id', nullable: false)]private ?Formation $formation = null;// The trainer who submitted the form (your "Trainee" holds formateurs)#[ORM\ManyToOne(targetEntity: Trainee::class)]#[ORM\JoinColumn(name: 'trainee_id', referencedColumnName: 'id', nullable: true)]private ?Trainee $trainee = null;// ── Basic info ─────────────────────────────────────────────#[ORM\Column(length: 255)]private ?string $client = null;#[ORM\Column(type: Types::DATE_MUTABLE, nullable: true)]private ?\DateTimeInterface $dateDebut = null;#[ORM\Column(type: Types::DATE_MUTABLE, nullable: true)]private ?\DateTimeInterface $dateFin = null;// ── Modalités (comma-separated: "Inter,Présentiel") ────────#[ORM\Column(length: 255, nullable: true)]private ?string $modalites = null;// ── Qualiopi checklist (booleans) ──────────────────────────#[ORM\Column(type: 'boolean', nullable: true)]private ?bool $checkAttestations = false;#[ORM\Column(type: 'boolean', nullable: true)]private ?bool $checkCertificats = false;#[ORM\Column(type: 'boolean', nullable: true)]private ?bool $checkIndic8 = false;#[ORM\Column(type: 'boolean', nullable: true)]private ?bool $checkIndic9 = false;#[ORM\Column(type: 'boolean', nullable: true)]private ?bool $checkIndic10 = false;#[ORM\Column(type: 'boolean', nullable: true)]private ?bool $checkIndic11 = false;#[ORM\Column(type: 'boolean', nullable: true)]private ?bool $checkIndic12 = false;#[ORM\Column(type: 'boolean', nullable: true)]private ?bool $checkIndic30 = false;// ── Adaptations pédagogiques ───────────────────────────────#[ORM\Column(length: 10, nullable: true)]private ?string $adaptAvant = null; // 'oui' | 'non'#[ORM\Column(length: 10, nullable: true)]private ?string $adaptPendant = null; // 'oui' | 'non'// ── Scale scores (1-5) ─────────────────────────────────────#[ORM\Column(type: 'smallint', nullable: true)]private ?int $compositionScore = null;#[ORM\Column(type: 'smallint', nullable: true)]private ?int $scoreVolontaire = null;#[ORM\Column(type: 'smallint', nullable: true)]private ?int $scoreObjectifsConnais = null;#[ORM\Column(type: 'smallint', nullable: true)]private ?int $scoreInteret = null;#[ORM\Column(type: 'smallint', nullable: true)]private ?int $scoreParticipation = null;#[ORM\Column(type: 'smallint', nullable: true)]private ?int $scoreApports = null;#[ORM\Column(type: 'smallint', nullable: true)]private ?int $scoreFaciliteEval = null;#[ORM\Column(type: 'smallint', nullable: true)]private ?int $scoreAssiduite = null;#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $finalComments = null;// ── Logistique scores ──────────────────────────────────────#[ORM\Column(type: 'smallint', nullable: true)]private ?int $scorePacks = null;#[ORM\Column(type: 'smallint', nullable: true)]private ?int $scoreDisponibilite = null;#[ORM\Column(type: 'smallint', nullable: true)]private ?int $scoreSalle = null;#[ORM\Column(type: 'smallint', nullable: true)]private ?int $scoreAcces = null;#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $logisticComments = null;// ── Audit ──────────────────────────────────────────────────#[ORM\Column(type: Types::DATETIME_MUTABLE)]private ?\DateTimeInterface $submittedAt = null;// ── Getters / Setters ──────────────────────────────────────public function getId(): ?int { return $this->id; }public function getFormation(): ?Formation { return $this->formation; }public function setFormation(?Formation $formation): self { $this->formation = $formation; return $this; }public function getTrainee(): ?Trainee { return $this->trainee; }public function setTrainee(?Trainee $trainee): self { $this->trainee = $trainee; return $this; }public function getClient(): ?string { return $this->client; }public function setClient(string $client): self { $this->client = $client; return $this; }public function getDateDebut(): ?\DateTimeInterface { return $this->dateDebut; }public function setDateDebut(?\DateTimeInterface $d): self { $this->dateDebut = $d; return $this; }public function getDateFin(): ?\DateTimeInterface { return $this->dateFin; }public function setDateFin(?\DateTimeInterface $d): self { $this->dateFin = $d; return $this; }public function getModalites(): ?string { return $this->modalites; }public function setModalites(?string $m): self { $this->modalites = $m; return $this; }public function isCheckAttestations(): ?bool { return $this->checkAttestations; }public function setCheckAttestations(?bool $v): self { $this->checkAttestations = $v; return $this; }public function isCheckCertificats(): ?bool { return $this->checkCertificats; }public function setCheckCertificats(?bool $v): self { $this->checkCertificats = $v; return $this; }public function isCheckIndic8(): ?bool { return $this->checkIndic8; }public function setCheckIndic8(?bool $v): self { $this->checkIndic8 = $v; return $this; }public function isCheckIndic9(): ?bool { return $this->checkIndic9; }public function setCheckIndic9(?bool $v): self { $this->checkIndic9 = $v; return $this; }public function isCheckIndic10(): ?bool { return $this->checkIndic10; }public function setCheckIndic10(?bool $v): self { $this->checkIndic10 = $v; return $this; }public function isCheckIndic11(): ?bool { return $this->checkIndic11; }public function setCheckIndic11(?bool $v): self { $this->checkIndic11 = $v; return $this; }public function isCheckIndic12(): ?bool { return $this->checkIndic12; }public function setCheckIndic12(?bool $v): self { $this->checkIndic12 = $v; return $this; }public function isCheckIndic30(): ?bool { return $this->checkIndic30; }public function setCheckIndic30(?bool $v): self { $this->checkIndic30 = $v; return $this; }public function getAdaptAvant(): ?string { return $this->adaptAvant; }public function setAdaptAvant(?string $v): self { $this->adaptAvant = $v; return $this; }public function getAdaptPendant(): ?string { return $this->adaptPendant; }public function setAdaptPendant(?string $v): self { $this->adaptPendant = $v; return $this; }public function getCompositionScore(): ?int { return $this->compositionScore; }public function setCompositionScore(?int $v): self { $this->compositionScore = $v; return $this; }public function getScoreVolontaire(): ?int { return $this->scoreVolontaire; }public function setScoreVolontaire(?int $v): self { $this->scoreVolontaire = $v; return $this; }public function getScoreObjectifsConnais(): ?int { return $this->scoreObjectifsConnais; }public function setScoreObjectifsConnais(?int $v): self { $this->scoreObjectifsConnais = $v; return $this; }public function getScoreInteret(): ?int { return $this->scoreInteret; }public function setScoreInteret(?int $v): self { $this->scoreInteret = $v; return $this; }public function getScoreParticipation(): ?int { return $this->scoreParticipation; }public function setScoreParticipation(?int $v): self { $this->scoreParticipation = $v; return $this; }public function getScoreApports(): ?int { return $this->scoreApports; }public function setScoreApports(?int $v): self { $this->scoreApports = $v; return $this; }public function getScoreFaciliteEval(): ?int { return $this->scoreFaciliteEval; }public function setScoreFaciliteEval(?int $v): self { $this->scoreFaciliteEval = $v; return $this; }public function getScoreAssiduite(): ?int { return $this->scoreAssiduite; }public function setScoreAssiduite(?int $v): self { $this->scoreAssiduite = $v; return $this; }public function getFinalComments(): ?string { return $this->finalComments; }public function setFinalComments(?string $v): self { $this->finalComments = $v; return $this; }public function getScorePacks(): ?int { return $this->scorePacks; }public function setScorePacks(?int $v): self { $this->scorePacks = $v; return $this; }public function getScoreDisponibilite(): ?int { return $this->scoreDisponibilite; }public function setScoreDisponibilite(?int $v): self { $this->scoreDisponibilite = $v; return $this; }public function getScoreSalle(): ?int { return $this->scoreSalle; }public function setScoreSalle(?int $v): self { $this->scoreSalle = $v; return $this; }public function getScoreAcces(): ?int { return $this->scoreAcces; }public function setScoreAcces(?int $v): self { $this->scoreAcces = $v; return $this; }public function getLogisticComments(): ?string { return $this->logisticComments; }public function setLogisticComments(?string $v): self { $this->logisticComments = $v; return $this; }public function getSubmittedAt(): ?\DateTimeInterface { return $this->submittedAt; }public function setSubmittedAt(\DateTimeInterface $v): self { $this->submittedAt = $v; return $this; }}