src/Entity/Seance.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SeanceRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass=SeanceRepository::class)
  7. */
  8. class Seance
  9. {
  10. /**
  11. * @ORM\Id()
  12. * @ORM\GeneratedValue()
  13. * @ORM\Column(type="integer")
  14. */
  15. private $id;
  16. /**
  17. * @ORM\ManyToOne(targetEntity=Apprenant::class, inversedBy="seances")
  18. */
  19. private $apprenant;
  20. /**
  21. * @ORM\ManyToOne(targetEntity=Utilisateur::class, inversedBy="seances")
  22. */
  23. private $agent;
  24. /**
  25. * @ORM\Column(type="string", length=255)
  26. */
  27. private $dateDebut;
  28. /**
  29. * @ORM\Column(type="string", length=255)
  30. */
  31. private $dateFin;
  32. /**
  33. * @ORM\Column(type="integer")
  34. */
  35. private $Sujet;
  36. /**
  37. * @ORM\Column(type="integer")
  38. */
  39. private $Statut;
  40. /**
  41. * @ORM\Column(type="string", length=255)
  42. */
  43. private $Description;
  44. /**
  45. * @ORM\Column(type="integer")
  46. */
  47. private $Evaluation;
  48. public function getId(): ?int
  49. {
  50. return $this->id;
  51. }
  52. public function getApprenant(): ?Apprenant
  53. {
  54. return $this->apprenant;
  55. }
  56. public function setApprenant(?Apprenant $apprenant): self
  57. {
  58. $this->apprenant = $apprenant;
  59. return $this;
  60. }
  61. public function getAgent(): ?Utilisateur
  62. {
  63. return $this->agent;
  64. }
  65. public function setAgent(?Utilisateur $agent): self
  66. {
  67. $this->agent = $agent;
  68. return $this;
  69. }
  70. public function getDateDebut(): ?string
  71. {
  72. return $this->dateDebut;
  73. }
  74. public function setDateDebut(string $dateDebut): self
  75. {
  76. $this->dateDebut = $dateDebut;
  77. return $this;
  78. }
  79. public function getDateFin(): ?string
  80. {
  81. return $this->dateFin;
  82. }
  83. public function setDateFin(string $dateFin): self
  84. {
  85. $this->dateFin = $dateFin;
  86. return $this;
  87. }
  88. public function getSujet(): ?int
  89. {
  90. return $this->Sujet;
  91. }
  92. public function setSujet(int $Sujet): self
  93. {
  94. $this->Sujet = $Sujet;
  95. return $this;
  96. }
  97. public function getStatut(): ?int
  98. {
  99. return $this->Statut;
  100. }
  101. public function setStatut(int $Statut): self
  102. {
  103. $this->Statut = $Statut;
  104. return $this;
  105. }
  106. public function getDescription(): ?string
  107. {
  108. return $this->Description;
  109. }
  110. public function setDescription(string $Description): self
  111. {
  112. $this->Description = $Description;
  113. return $this;
  114. }
  115. public function getEvaluation(): ?int
  116. {
  117. return $this->Evaluation;
  118. }
  119. public function setEvaluation(int $Evaluation): self
  120. {
  121. $this->Evaluation = $Evaluation;
  122. return $this;
  123. }
  124. }