src/Entity/Clientventeavoir.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * Clientventeavoir
  6. *
  7. * @ORM\Table(name="clientventeavoir", options={"collate"="latin1_general_ci","charset"="latin1"})
  8. * @ORM\Entity(repositoryClass="App\Repository\ClientventeavoirRepository")
  9. */
  10. class Clientventeavoir
  11. {
  12. /**
  13. * @var integer
  14. *
  15. * @ORM\Column(name="id", type="integer", nullable=false)
  16. * @ORM\Id
  17. * @ORM\GeneratedValue(strategy="IDENTITY")
  18. */
  19. private $id;
  20. /**
  21. * @ORM\ManyToOne(targetEntity="App\Entity\Fournisseur", cascade={"persist"})
  22. * @ORM\JoinColumn(nullable=false)
  23. */
  24. private $idfournisseur;
  25. /**
  26. * @ORM\ManyToOne(targetEntity="App\Entity\Client", cascade={"persist"})
  27. * @ORM\JoinColumn(nullable=false)
  28. */
  29. private $idclient;
  30. /**
  31. * @ORM\ManyToOne(targetEntity="App\Entity\Admin", cascade={"persist"})
  32. * @ORM\JoinColumn(nullable=false)
  33. */
  34. private $idadmin;
  35. /**
  36. * @var \DateTime
  37. *
  38. * @ORM\Column(name="datefr", type="date", nullable=false)
  39. */
  40. private $datefr;
  41. /**
  42. * @var float
  43. *
  44. * @ORM\Column(name="montantht", type="decimal", nullable=false, precision=8, scale=2)
  45. */
  46. private $montantht;
  47. /**
  48. * @var string
  49. *
  50. * @ORM\Column(name="commentaire", type="text", nullable=false)
  51. */
  52. private $commentaire;
  53. /**
  54. * @var float
  55. *
  56. * @ORM\Column(name="commission", type="decimal", nullable=false, precision=8, scale=2)
  57. */
  58. private $commission;
  59. /**
  60. * @var float
  61. *
  62. * @ORM\Column(name="adminCom", type="decimal", nullable=false, precision=8, scale=2)
  63. */
  64. private $adminCom;
  65. /**
  66. * @var \DateTime
  67. *
  68. * @ORM\Column(name="paye_admin", type="date", nullable=false)
  69. */
  70. private $payeAdmin;
  71. /**
  72. * @var \DateTime
  73. *
  74. * @ORM\Column(name="facturedatefr", type="date", nullable=false)
  75. */
  76. private $facturedatefr;
  77. /**
  78. * Get id
  79. *
  80. * @return integer
  81. */
  82. public function getId()
  83. {
  84. return $this->id;
  85. }
  86. /**
  87. * Set datefr
  88. *
  89. * @param \DateTime $datefr
  90. * @return Clientventeavoir
  91. */
  92. public function setDatefr($datefr)
  93. {
  94. $this->datefr = $datefr;
  95. return $this;
  96. }
  97. /**
  98. * Get datefr
  99. *
  100. * @return \DateTime
  101. */
  102. public function getDatefr()
  103. {
  104. return $this->datefr;
  105. }
  106. /**
  107. * Set montantht
  108. *
  109. * @param float $montantht
  110. * @return Clientventeavoir
  111. */
  112. public function setMontantht($montantht)
  113. {
  114. $this->montantht = $montantht;
  115. return $this;
  116. }
  117. /**
  118. * Get montantht
  119. *
  120. * @return float
  121. */
  122. public function getMontantht()
  123. {
  124. return $this->montantht;
  125. }
  126. /**
  127. * Set commentaire
  128. *
  129. * @param string $commentaire
  130. * @return Clientventeavoir
  131. */
  132. public function setCommentaire($commentaire)
  133. {
  134. $this->commentaire = $commentaire;
  135. return $this;
  136. }
  137. /**
  138. * Get commentaire
  139. *
  140. * @return string
  141. */
  142. public function getCommentaire()
  143. {
  144. return $this->commentaire;
  145. }
  146. /**
  147. * Set commission
  148. *
  149. * @param float $commission
  150. * @return Clientventeavoir
  151. */
  152. public function setCommission($commission)
  153. {
  154. $this->commission = $commission;
  155. return $this;
  156. }
  157. /**
  158. * Get commission
  159. *
  160. * @return float
  161. */
  162. public function getCommission()
  163. {
  164. return $this->commission;
  165. }
  166. /**
  167. * Set adminCom
  168. *
  169. * @param float $adminCom
  170. * @return Clientventeavoir
  171. */
  172. public function setAdminCom($adminCom)
  173. {
  174. $this->adminCom = $adminCom;
  175. return $this;
  176. }
  177. /**
  178. * Get adminCom
  179. *
  180. * @return float
  181. */
  182. public function getAdminCom()
  183. {
  184. return $this->adminCom;
  185. }
  186. /**
  187. * Set payeAdmin
  188. *
  189. * @param \DateTime $payeAdmin
  190. * @return Clientventeavoir
  191. */
  192. public function setPayeAdmin($payeAdmin)
  193. {
  194. $this->payeAdmin = $payeAdmin;
  195. return $this;
  196. }
  197. /**
  198. * Get payeAdmin
  199. *
  200. * @return \DateTime
  201. */
  202. public function getPayeAdmin()
  203. {
  204. return $this->payeAdmin;
  205. }
  206. /**
  207. * Set facturedatefr
  208. *
  209. * @param \DateTime $facturedatefr
  210. * @return Clientventeavoir
  211. */
  212. public function setFacturedatefr($facturedatefr)
  213. {
  214. $this->facturedatefr = $facturedatefr;
  215. return $this;
  216. }
  217. /**
  218. * Get facturedatefr
  219. *
  220. * @return \DateTime
  221. */
  222. public function getFacturedatefr()
  223. {
  224. return $this->facturedatefr;
  225. }
  226. /**
  227. * Set idfournisseur
  228. *
  229. * @param Fournisseur $idfournisseur
  230. * @return Clientventeavoir
  231. */
  232. public function setIdfournisseur(Fournisseur $idfournisseur)
  233. {
  234. $this->idfournisseur = $idfournisseur;
  235. return $this;
  236. }
  237. /**
  238. * Get idfournisseur
  239. *
  240. * @return Fournisseur
  241. */
  242. public function getIdfournisseur()
  243. {
  244. return $this->idfournisseur;
  245. }
  246. /**
  247. * Set idclient
  248. *
  249. * @param Client $idclient
  250. * @return Clientventeavoir
  251. */
  252. public function setIdclient(Client $idclient)
  253. {
  254. $this->idclient = $idclient;
  255. return $this;
  256. }
  257. /**
  258. * Get idclient
  259. *
  260. * @return Client
  261. */
  262. public function getIdclient()
  263. {
  264. return $this->idclient;
  265. }
  266. /**
  267. * Set idadmin
  268. *
  269. * @param Admin $idadmin
  270. * @return Clientventeavoir
  271. */
  272. public function setIdadmin(Admin $idadmin)
  273. {
  274. $this->idadmin = $idadmin;
  275. return $this;
  276. }
  277. /**
  278. * Get idadmin
  279. *
  280. * @return Admin
  281. */
  282. public function getIdadmin()
  283. {
  284. return $this->idadmin;
  285. }
  286. }