src/Entity/Fichier.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\DBAL\Types\Types;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * Fichier
  7. *
  8. * @ORM\Table(name="FICHIER", indexes={@ORM\Index(name="utilisateurimport_id", columns={"utilisateurimport_id"}), @ORM\Index(name="statutimport_id", columns={"statutimport_id"}), @ORM\Index(name="typeimport_id", columns={"typeimport_id"})})
  9. * @ORM\Entity
  10. */
  11. class Fichier
  12. {
  13. /**
  14. * @var int
  15. *
  16. * @ORM\Column(name="idfichier", type="integer", nullable=false)
  17. * @ORM\Id
  18. * @ORM\GeneratedValue(strategy="IDENTITY")
  19. */
  20. private $idfichier;
  21. /**
  22. * @var string
  23. *
  24. * @ORM\Column(name="libellefichier", type="string", length=255, nullable=false)
  25. */
  26. private $libellefichier;
  27. /**
  28. * @var \DateTime
  29. *
  30. * @ORM\Column(name="dateimport", type="datetime", nullable=false)
  31. */
  32. private $dateimport;
  33. /**
  34. * @var int|null
  35. *
  36. * @ORM\Column(name="nblignetotal", type="integer", nullable=true)
  37. */
  38. private $nblignetotal;
  39. /**
  40. * @var int|null
  41. *
  42. * @ORM\Column(name="nblignetraite", type="integer", nullable=true)
  43. */
  44. private $nblignetraite;
  45. /**
  46. * @var bool|null
  47. *
  48. * @ORM\Column(name="verifie", type="boolean", nullable=true)
  49. */
  50. private $verifie = '0';
  51. /**
  52. * @var \Typeimport
  53. *
  54. * @ORM\ManyToOne(targetEntity="Typeimport")
  55. * @ORM\JoinColumns({
  56. * @ORM\JoinColumn(name="typeimport_id", referencedColumnName="idtypeimport")
  57. * })
  58. */
  59. private $typeimport;
  60. /**
  61. * @var \Utilisateur
  62. *
  63. * @ORM\ManyToOne(targetEntity="Utilisateur")
  64. * @ORM\JoinColumns({
  65. * @ORM\JoinColumn(name="utilisateurimport_id", referencedColumnName="idutilisateur")
  66. * })
  67. */
  68. private $utilisateurimport;
  69. /**
  70. * @var \Statutimport
  71. *
  72. * @ORM\ManyToOne(targetEntity="Statutimport")
  73. * @ORM\JoinColumns({
  74. * @ORM\JoinColumn(name="statutimport_id", referencedColumnName="idstatutimport")
  75. * })
  76. */
  77. private $statutimport;
  78. public function getIdfichier(): ?int
  79. {
  80. return $this->idfichier;
  81. }
  82. public function getLibellefichier(): ?string
  83. {
  84. return $this->libellefichier;
  85. }
  86. public function setLibellefichier(string $libellefichier): static
  87. {
  88. $this->libellefichier = $libellefichier;
  89. return $this;
  90. }
  91. public function getDateimport(): ?\DateTimeInterface
  92. {
  93. return $this->dateimport;
  94. }
  95. public function setDateimport(\DateTimeInterface $dateimport): static
  96. {
  97. $this->dateimport = $dateimport;
  98. return $this;
  99. }
  100. public function getNblignetotal(): ?int
  101. {
  102. return $this->nblignetotal;
  103. }
  104. public function setNblignetotal(?int $nblignetotal): static
  105. {
  106. $this->nblignetotal = $nblignetotal;
  107. return $this;
  108. }
  109. public function getNblignetraite(): ?int
  110. {
  111. return $this->nblignetraite;
  112. }
  113. public function setNblignetraite(?int $nblignetraite): static
  114. {
  115. $this->nblignetraite = $nblignetraite;
  116. return $this;
  117. }
  118. public function isVerifie(): ?bool
  119. {
  120. return $this->verifie;
  121. }
  122. public function setVerifie(?bool $verifie): static
  123. {
  124. $this->verifie = $verifie;
  125. return $this;
  126. }
  127. public function getTypeimport(): ?Typeimport
  128. {
  129. return $this->typeimport;
  130. }
  131. public function setTypeimport(?Typeimport $typeimport): static
  132. {
  133. $this->typeimport = $typeimport;
  134. return $this;
  135. }
  136. public function getUtilisateurimport(): ?Utilisateur
  137. {
  138. return $this->utilisateurimport;
  139. }
  140. public function setUtilisateurimport(?Utilisateur $utilisateurimport): static
  141. {
  142. $this->utilisateurimport = $utilisateurimport;
  143. return $this;
  144. }
  145. public function getStatutimport(): ?Statutimport
  146. {
  147. return $this->statutimport;
  148. }
  149. public function setStatutimport(?Statutimport $statutimport): static
  150. {
  151. $this->statutimport = $statutimport;
  152. return $this;
  153. }
  154. }