src/Entity/Evolution.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\EvolutionRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass=EvolutionRepository::class)
  7. */
  8. class Evolution
  9. {
  10. /**
  11. * @ORM\Id()
  12. * @ORM\GeneratedValue()
  13. * @ORM\Column(type="integer")
  14. */
  15. private $id;
  16. /**
  17. * @ORM\Column(name="nbrTermine",type="integer")
  18. */
  19. private $nbrTermine;
  20. /**
  21. * @ORM\Column(name="nbrDemarre",type="integer")
  22. */
  23. private $nbrDemarre;
  24. /**
  25. * @ORM\Column(name="nbrInscrit",type="integer")
  26. */
  27. private $nbrInscrit;
  28. /**
  29. * @ORM\Column(name="nbrNonAffecter",type="integer")
  30. */
  31. private $nbrNonAffecter;
  32. /**
  33. * @ORM\Column(type="integer")
  34. */
  35. private $progres;
  36. /**
  37. * @ORM\Column(name="date_maj",type="string", length=255)
  38. */
  39. private $date_maj;
  40. /**
  41. * @ORM\ManyToOne(targetEntity=Projet::class, inversedBy="evolutions")
  42. * @ORM\JoinColumn(name="id_projet", referencedColumnName="id")
  43. */
  44. private $projet;
  45. public function getId(): ?int
  46. {
  47. return $this->id;
  48. }
  49. public function getNbrTermine(): ?int
  50. {
  51. return $this->nbrTermine;
  52. }
  53. public function setNbrTermine(int $nbrTermine): self
  54. {
  55. $this->nbrTermine = $nbrTermine;
  56. return $this;
  57. }
  58. public function getNbrDemarre(): ?int
  59. {
  60. return $this->nbrDemarre;
  61. }
  62. public function setNbrDemarre(int $nbrDemarre): self
  63. {
  64. $this->nbrDemarre = $nbrDemarre;
  65. return $this;
  66. }
  67. public function getNbrInscrit(): ?int
  68. {
  69. return $this->nbrInscrit;
  70. }
  71. public function setNbrInscrit(int $nbrInscrit): self
  72. {
  73. $this->nbrInscrit = $nbrInscrit;
  74. return $this;
  75. }
  76. public function getNbrNonAffecter(): ?int
  77. {
  78. return $this->nbrNonAffecter;
  79. }
  80. public function setNbrNonAffecter(int $nbrNonAffecter): self
  81. {
  82. $this->nbrNonAffecter = $nbrNonAffecter;
  83. return $this;
  84. }
  85. public function getProgres(): ?int
  86. {
  87. return $this->progres;
  88. }
  89. public function setProgres(int $progres): self
  90. {
  91. $this->progres = $progres;
  92. return $this;
  93. }
  94. public function getDateMaj(): ?string
  95. {
  96. return $this->date_maj;
  97. }
  98. public function setDateMaj(string $date_maj): self
  99. {
  100. $this->date_maj = $date_maj;
  101. return $this;
  102. }
  103. public function getProjet(): ?Projet
  104. {
  105. return $this->projet;
  106. }
  107. public function setProjet(?Projet $projet): self
  108. {
  109. $this->projet = $projet;
  110. return $this;
  111. }
  112. }