src/Entity/Conciliation.php line 19

Open in your IDE?
  1. <?php
  2. /**
  3.  * Created by PhpStorm.
  4.  * User: fmartinbrossat
  5.  * Date: 2018-09-17
  6.  * Time: 11:39
  7.  */
  8. namespace App\Entity;
  9. use Doctrine\ORM\Mapping as ORM;
  10. use App\Entity\SysUsers;
  11. use Symfony\Component\Validator\Constraints as Assert;
  12. /**
  13.  * @ORM\Entity(repositoryClass="App\Repository\ConciliationRepository")
  14.  * @ORM\Table(name="conciliation")
  15.  */
  16. class Conciliation
  17. {
  18.     /**
  19.      * @ORM\Column(type="integer")
  20.      * @ORM\Id
  21.      * @ORM\GeneratedValue(strategy="AUTO")
  22.      */
  23.     protected $id;
  24.     /**
  25.      * @ORM\ManyToOne(targetEntity="SysUsers")
  26.      * @ORM\JoinColumn(name="user", referencedColumnName="id")
  27.      */
  28.     protected $user;
  29.     /**
  30.      * @ORM\ManyToOne(targetEntity="Company")
  31.      * @ORM\JoinColumn(name="company", referencedColumnName="id")
  32.      */
  33.     protected $company;
  34.     /**
  35.      * @ORM\Column(name="date", type="date")
  36.      */
  37.     protected $date;
  38.     /**
  39.      * @ORM\Column(name="comptant", type="float", length=50, nullable=true)
  40.      */
  41.     protected $comptant;
  42.     /**
  43.      * @ORM\Column(name="interac", type="float", length=50, nullable=true)
  44.      */
  45.     protected $interac;
  46.     /**
  47.      * @ORM\Column(name="master_card", type="float", length=50, nullable=true)
  48.      */
  49.     protected $mastercard;
  50.     /**
  51.      * @ORM\Column(name="visa", type="float", length=50, nullable=true)
  52.      */
  53.     protected $visa;
  54.     /**
  55.      * @ORM\Column(name="certificat_rafin", type="float", length=50, nullable=true)
  56.      */
  57.     protected $certificatRafin;
  58.     /**
  59.      * @ORM\Column(name="certificat_centre", type="float", length=50, nullable=true)
  60.      */
  61.     protected $certificatCentre;
  62.     /**
  63.      * @ORM\Column(name="rabais_coupon", type="float", length=50, nullable=true)
  64.      */
  65.     protected $rabaisCoupon;
  66.     /**
  67.      * @ORM\Column(name="rabais_catalogue", type="float", length=50, nullable=true)
  68.      */
  69.     protected $rabaisCatalogue;
  70.     /**
  71.      * @ORM\Column(name="depenses", type="float", length=50, nullable=true)
  72.      */
  73.     protected $depenses;
  74.     /**
  75.      * @ORM\Column(name="commentaire", type="string", length=255, nullable=true)
  76.      */
  77.     protected $commentaire;
  78.     /**
  79.      * @return mixed
  80.      */
  81.     public function getId()
  82.     {
  83.         return $this->id;
  84.     }
  85.     /**
  86.      * @param mixed $id
  87.      */
  88.     public function setId($id)
  89.     {
  90.         $this->id $id;
  91.     }
  92.     /**
  93.      * @return mixed
  94.      */
  95.     public function getUser()
  96.     {
  97.         return $this->user;
  98.     }
  99.     /**
  100.      * @param mixed $user
  101.      */
  102.     public function setUser($user)
  103.     {
  104.         $this->user $user;
  105.     }
  106.     /**
  107.      * @return mixed
  108.      */
  109.     public function getCompany()
  110.     {
  111.         return $this->company;
  112.     }
  113.     /**
  114.      * @param mixed $company
  115.      */
  116.     public function setCompany($company): void
  117.     {
  118.         $this->company $company;
  119.     }
  120.     /**
  121.      * @return mixed
  122.      */
  123.     public function getDate()
  124.     {
  125.         return $this->date;
  126.     }
  127.     /**
  128.      * @param mixed $date
  129.      */
  130.     public function setDate($date)
  131.     {
  132.         $this->date $date;
  133.     }
  134.     /**
  135.      * @return mixed
  136.      */
  137.     public function getComptant()
  138.     {
  139.         return $this->comptant;
  140.     }
  141.     /**
  142.      * @param mixed $comptant
  143.      */
  144.     public function setComptant($comptant)
  145.     {
  146.         $this->comptant $comptant;
  147.     }
  148.     /**
  149.      * @return mixed
  150.      */
  151.     public function getInterac()
  152.     {
  153.         return $this->interac;
  154.     }
  155.     /**
  156.      * @param mixed $interac
  157.      */
  158.     public function setInterac($interac)
  159.     {
  160.         $this->interac $interac;
  161.     }
  162.     /**
  163.      * @return mixed
  164.      */
  165.     public function getMastercard()
  166.     {
  167.         return $this->mastercard;
  168.     }
  169.     /**
  170.      * @param mixed $mastercard
  171.      */
  172.     public function setMastercard($mastercard)
  173.     {
  174.         $this->mastercard $mastercard;
  175.     }
  176.     /**
  177.      * @return mixed
  178.      */
  179.     public function getVisa()
  180.     {
  181.         return $this->visa;
  182.     }
  183.     /**
  184.      * @param mixed $visa
  185.      */
  186.     public function setVisa($visa)
  187.     {
  188.         $this->visa $visa;
  189.     }
  190.     /**
  191.      * @return mixed
  192.      */
  193.     public function getCertificatRafin()
  194.     {
  195.         return $this->certificatRafin;
  196.     }
  197.     /**
  198.      * @param mixed $certificatRafin
  199.      */
  200.     public function setCertificatRafin($certificatRafin)
  201.     {
  202.         $this->certificatRafin $certificatRafin;
  203.     }
  204.     /**
  205.      * @return mixed
  206.      */
  207.     public function getCertificatCentre()
  208.     {
  209.         return $this->certificatCentre;
  210.     }
  211.     /**
  212.      * @param mixed $certificatCentre
  213.      */
  214.     public function setCertificatCentre($certificatCentre)
  215.     {
  216.         $this->certificatCentre $certificatCentre;
  217.     }
  218.     /**
  219.      * @return mixed
  220.      */
  221.     public function getRabaisCoupon()
  222.     {
  223.         return $this->rabaisCoupon;
  224.     }
  225.     /**
  226.      * @param mixed $rabaisCoupon
  227.      */
  228.     public function setRabaisCoupon($rabaisCoupon)
  229.     {
  230.         $this->rabaisCoupon $rabaisCoupon;
  231.     }
  232.     /**
  233.      * @return mixed
  234.      */
  235.     public function getRabaisCatalogue()
  236.     {
  237.         return $this->rabaisCatalogue;
  238.     }
  239.     /**
  240.      * @param mixed $rabaisCatalogue
  241.      */
  242.     public function setRabaisCatalogue($rabaisCatalogue)
  243.     {
  244.         $this->rabaisCatalogue $rabaisCatalogue;
  245.     }
  246.     /**
  247.      * @return mixed
  248.      */
  249.     public function getDepenses()
  250.     {
  251.         return $this->depenses;
  252.     }
  253.     /**
  254.      * @param mixed $depenses
  255.      */
  256.     public function setDepenses($depenses)
  257.     {
  258.         $this->depenses $depenses;
  259.     }
  260.     /**
  261.      * @return mixed
  262.      */
  263.     public function getCommentaire()
  264.     {
  265.         return $this->commentaire;
  266.     }
  267.     /**
  268.      * @param mixed $commentaire
  269.      */
  270.     public function setCommentaire($commentaire)
  271.     {
  272.         $this->commentaire $commentaire;
  273.     }
  274. }