src/Entity/Clientvente.php line 19

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