src/Entity/Clientencaisse.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * @ORM\Entity(repositoryClass="App\Repository\ClientencaisseRepository")
  6. * @ORM\Table(name="clientencaisse", options={"collate"="latin1_general_ci","charset"="latin1"})
  7. * @ORM\HasLifecycleCallbacks()
  8. */
  9. class Clientencaisse
  10. {
  11. /**
  12. * @var integer
  13. *
  14. * @ORM\Column(name="id", type="integer", nullable=false)
  15. * @ORM\Id
  16. * @ORM\GeneratedValue(strategy="IDENTITY")
  17. */
  18. private $id;
  19. /**
  20. * @ORM\ManyToOne(targetEntity="App\Entity\Clientvente", cascade={"persist"})
  21. * @ORM\JoinColumn(nullable=true, onDelete="CASCADE")
  22. */
  23. private $idvente;
  24. /**
  25. * @var \DateTime
  26. *
  27. * @ORM\Column(name="datefr", type="date", nullable=false)
  28. */
  29. private $datefr;
  30. /**
  31. * @var float
  32. *
  33. * @ORM\Column(name="montantht", type="decimal", nullable=false, precision=8, scale=2)
  34. */
  35. private $montantht;
  36. /**
  37. * @var \DateTime
  38. *
  39. * @ORM\Column(name="facturedatefr", type="date", nullable=false)
  40. */
  41. private $facturedatefr;
  42. /**
  43. * @var integer
  44. *
  45. * @ORM\Column(name="facturenumero", type="integer", nullable=false)
  46. */
  47. private $facturenumero;
  48. /**
  49. * Get id
  50. *
  51. * @return integer
  52. */
  53. public function getId()
  54. {
  55. return $this->id;
  56. }
  57. /**
  58. * @param Clientvente $idvente
  59. * @return $this
  60. */
  61. public function setIdvente(Clientvente $idvente)
  62. {
  63. $this->idvente = $idvente;
  64. return $this;
  65. }
  66. /**
  67. * Get idvente
  68. *
  69. * @return Clientvente
  70. */
  71. public function getIdvente()
  72. {
  73. return $this->idvente;
  74. }
  75. /**
  76. * Set datefr
  77. *
  78. * @param \DateTime $datefr
  79. * @return Clientencaisse
  80. */
  81. public function setDatefr($datefr)
  82. {
  83. $this->datefr = $datefr;
  84. return $this;
  85. }
  86. /**
  87. * Get datefr
  88. *
  89. * @return \DateTime
  90. */
  91. public function getDatefr()
  92. {
  93. return $this->datefr;
  94. }
  95. /**
  96. * Set montantht
  97. *
  98. * @param float $montantht
  99. * @return Clientencaisse
  100. */
  101. public function setMontantht($montantht)
  102. {
  103. $this->montantht = $montantht;
  104. return $this;
  105. }
  106. /**
  107. * Get montantht
  108. *
  109. * @return float
  110. */
  111. public function getMontantht()
  112. {
  113. return $this->montantht;
  114. }
  115. /**
  116. * Set facturedatefr
  117. *
  118. * @param \DateTime $facturedatefr
  119. * @return Clientencaisse
  120. */
  121. public function setFacturedatefr($facturedatefr)
  122. {
  123. $this->facturedatefr = $facturedatefr;
  124. return $this;
  125. }
  126. /**
  127. * Get facturedatefr
  128. *
  129. * @return \DateTime
  130. */
  131. public function getFacturedatefr()
  132. {
  133. return $this->facturedatefr;
  134. }
  135. /**
  136. * Set facturenumero
  137. *
  138. * @param integer $facturenumero
  139. * @return Clientencaisse
  140. */
  141. public function setFacturenumero($facturenumero)
  142. {
  143. $this->facturenumero = $facturenumero;
  144. return $this;
  145. }
  146. /**
  147. * Get facturenumero
  148. *
  149. * @return integer
  150. */
  151. public function getFacturenumero()
  152. {
  153. return $this->facturenumero;
  154. }
  155. }