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 bool Faux pour les imports de reprise de l'existant : les annuler supprimerait toutes les données
  53. *
  54. * @ORM\Column(name="annulable", type="boolean", nullable=false, options={"default"=1})
  55. */
  56. private $annulable = true;
  57. /**
  58. * @var \Typeimport
  59. *
  60. * @ORM\ManyToOne(targetEntity="Typeimport")
  61. * @ORM\JoinColumns({
  62. * @ORM\JoinColumn(name="typeimport_id", referencedColumnName="idtypeimport")
  63. * })
  64. */
  65. private $typeimport;
  66. /**
  67. * @var \Utilisateur
  68. *
  69. * @ORM\ManyToOne(targetEntity="Utilisateur")
  70. * @ORM\JoinColumns({
  71. * @ORM\JoinColumn(name="utilisateurimport_id", referencedColumnName="idutilisateur")
  72. * })
  73. */
  74. private $utilisateurimport;
  75. /**
  76. * @var \Statutimport
  77. *
  78. * @ORM\ManyToOne(targetEntity="Statutimport")
  79. * @ORM\JoinColumns({
  80. * @ORM\JoinColumn(name="statutimport_id", referencedColumnName="idstatutimport")
  81. * })
  82. */
  83. private $statutimport;
  84. public function getIdfichier(): ?int
  85. {
  86. return $this->idfichier;
  87. }
  88. public function getLibellefichier(): ?string
  89. {
  90. return $this->libellefichier;
  91. }
  92. public function setLibellefichier(string $libellefichier): static
  93. {
  94. $this->libellefichier = $libellefichier;
  95. return $this;
  96. }
  97. public function getDateimport(): ?\DateTimeInterface
  98. {
  99. return $this->dateimport;
  100. }
  101. public function setDateimport(\DateTimeInterface $dateimport): static
  102. {
  103. $this->dateimport = $dateimport;
  104. return $this;
  105. }
  106. public function getNblignetotal(): ?int
  107. {
  108. return $this->nblignetotal;
  109. }
  110. public function setNblignetotal(?int $nblignetotal): static
  111. {
  112. $this->nblignetotal = $nblignetotal;
  113. return $this;
  114. }
  115. public function getNblignetraite(): ?int
  116. {
  117. return $this->nblignetraite;
  118. }
  119. public function setNblignetraite(?int $nblignetraite): static
  120. {
  121. $this->nblignetraite = $nblignetraite;
  122. return $this;
  123. }
  124. public function isVerifie(): ?bool
  125. {
  126. return $this->verifie;
  127. }
  128. public function setVerifie(?bool $verifie): static
  129. {
  130. $this->verifie = $verifie;
  131. return $this;
  132. }
  133. public function isAnnulable(): ?bool
  134. {
  135. return $this->annulable;
  136. }
  137. public function setAnnulable(bool $annulable): static
  138. {
  139. $this->annulable = $annulable;
  140. return $this;
  141. }
  142. public function getTypeimport(): ?Typeimport
  143. {
  144. return $this->typeimport;
  145. }
  146. public function setTypeimport(?Typeimport $typeimport): static
  147. {
  148. $this->typeimport = $typeimport;
  149. return $this;
  150. }
  151. public function getUtilisateurimport(): ?Utilisateur
  152. {
  153. return $this->utilisateurimport;
  154. }
  155. public function setUtilisateurimport(?Utilisateur $utilisateurimport): static
  156. {
  157. $this->utilisateurimport = $utilisateurimport;
  158. return $this;
  159. }
  160. public function getStatutimport(): ?Statutimport
  161. {
  162. return $this->statutimport;
  163. }
  164. public function setStatutimport(?Statutimport $statutimport): static
  165. {
  166. $this->statutimport = $statutimport;
  167. return $this;
  168. }
  169. }