src/MDS/AvexpressBundle/Entity/AveDocInvoiceRec.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\MDS\AvexpressBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * AveDocInvoiceRec
  6.  *
  7.  * @ORM\Table(name="ave_doc_invoice_rec")
  8.  * @ORM\Entity(repositoryClass="App\MDS\AvexpressBundle\Repository\AveDocInvoiceRecRepository")
  9.  */
  10. class AveDocInvoiceRec
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer")
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var int
  22.      *
  23.      * @ORM\Column(name="file_id", type="integer")
  24.      */
  25.     private $fileId;
  26.     /**
  27.      * @var int
  28.      *
  29.      * @ORM\Column(name="invoiceToRec", type="integer")
  30.      */
  31.     private $invoiceToRec;
  32.     /**
  33.      * @var string
  34.      *
  35.      * @ORM\Column(name="prefix", type="string", length=255, nullable=true)
  36.      */
  37.     private $prefix;
  38.     /**
  39.      * @var \DateTime
  40.      *
  41.      * @ORM\Column(name="dateAt", type="datetime")
  42.      */
  43.     private $dateAt;
  44.     /**
  45.      * @var string
  46.      *
  47.      * @ORM\Column(name="type", type="string", length=255)
  48.      */
  49.     private $type;
  50.     /**
  51.      * @var string
  52.      *
  53.      * @ORM\Column(name="totalNet", type="string", length=255)
  54.      */
  55.     private $totalNet;
  56.     /**
  57.      * @var string
  58.      *
  59.      * @ORM\Column(name="iva", type="string", length=255, nullable=true)
  60.      */
  61.     private $iva;
  62.     /**
  63.      * @var string
  64.      *
  65.      * @ORM\Column(name="vat", type="text", nullable=true)
  66.      */
  67.     private $vat;
  68.     /**
  69.      * @var string
  70.      *
  71.      * @ORM\Column(name="total", type="string", length=255, nullable=true)
  72.      */
  73.     private $total;
  74.     /**
  75.      * @var string
  76.      *
  77.      * @ORM\Column(name="balance", type="string", length=255, nullable=true)
  78.      */
  79.     private $balance;
  80.     /**
  81.      * @var string
  82.      *
  83.      * @ORM\Column(name="master", type="string", length=255, nullable=true)
  84.      */
  85.     private $master 'master';
  86.     /**
  87.      * @var string
  88.      *
  89.      * @ORM\Column(name="number", type="string", length=255, nullable=true)
  90.      */
  91.     private $number;
  92.     /**
  93.      * @var string
  94.      *
  95.      * @ORM\Column(name="name", type="string", length=255, nullable=true)
  96.      */
  97.     private $name;
  98.     /**
  99.      * @var \DateTime
  100.      *
  101.      * @ORM\Column(name="createdAt", type="datetime")
  102.      */
  103.     private $createdAt;
  104.     /**
  105.      * @var int
  106.      *
  107.      * @ORM\Column(name="createdId", type="integer")
  108.      */
  109.     private $createdId;
  110.     /**
  111.      * @var \DateTime
  112.      *
  113.      * @ORM\Column(name="updatedAt", type="datetime")
  114.      */
  115.     private $updatedAt;
  116.     /**
  117.      * @var int
  118.      *
  119.      * @ORM\Column(name="updatedId", type="integer")
  120.      */
  121.     private $updatedId;
  122.     /**
  123.      * @ORM\OneToOne(targetEntity="App\Entity\DeliveryNote", mappedBy="aveDocInvoiceRec")
  124.      */
  125.     private $deliveryNote;
  126.     /**
  127.      * Get id
  128.      *
  129.      * @return int
  130.      */
  131.     public function getId()
  132.     {
  133.         return $this->id;
  134.     }
  135.     /**
  136.      * Set fileId
  137.      *
  138.      * @param integer $fileId
  139.      *
  140.      * @return AveDocInvoiceRec
  141.      */
  142.     public function setFileId($fileId)
  143.     {
  144.         $this->fileId $fileId;
  145.         return $this;
  146.     }
  147.     /**
  148.      * Get fileId
  149.      *
  150.      * @return integer
  151.      */
  152.     public function getFileId()
  153.     {
  154.         return $this->fileId;
  155.     }
  156.     /**
  157.      * Set invoiceToRec
  158.      *
  159.      * @param integer $invoiceToRec
  160.      *
  161.      * @return AveDocInvoiceRec
  162.      */
  163.     public function setInvoiceToRec($invoiceToRec)
  164.     {
  165.         $this->invoiceToRec $invoiceToRec;
  166.         return $this;
  167.     }
  168.     /**
  169.      * Get invoiceToRec
  170.      *
  171.      * @return integer
  172.      */
  173.     public function getInvoiceToRec()
  174.     {
  175.         return $this->invoiceToRec;
  176.     }
  177.     /**
  178.      * Set prefix
  179.      *
  180.      * @param string $prefix
  181.      *
  182.      * @return AveDocInvoiceRec
  183.      */
  184.     public function setPrefix($prefix)
  185.     {
  186.         $this->prefix $prefix;
  187.         return $this;
  188.     }
  189.     /**
  190.      * Get prefix
  191.      *
  192.      * @return string
  193.      */
  194.     public function getPrefix()
  195.     {
  196.         return $this->prefix;
  197.     }
  198.     /**
  199.      * Set dateAt
  200.      *
  201.      * @param \DateTime $dateAt
  202.      *
  203.      * @return AveDocInvoiceRec
  204.      */
  205.     public function setDateAt($dateAt)
  206.     {
  207.         $this->dateAt $dateAt;
  208.         return $this;
  209.     }
  210.     /**
  211.      * Get dateAt
  212.      *
  213.      * @return \DateTime
  214.      */
  215.     public function getDateAt()
  216.     {
  217.         return $this->dateAt;
  218.     }
  219.     /**
  220.      * Set type
  221.      *
  222.      * @param string $type
  223.      *
  224.      * @return AveDocInvoiceRec
  225.      */
  226.     public function setType($type)
  227.     {
  228.         $this->type $type;
  229.         return $this;
  230.     }
  231.     /**
  232.      * Get type
  233.      *
  234.      * @return string
  235.      */
  236.     public function getType()
  237.     {
  238.         return $this->type;
  239.     }
  240.     /**
  241.      * Set totalNet
  242.      *
  243.      * @param string $totalNet
  244.      *
  245.      * @return AveDocInvoiceRec
  246.      */
  247.     public function setTotalNet($totalNet)
  248.     {
  249.         $this->totalNet $totalNet;
  250.         return $this;
  251.     }
  252.     /**
  253.      * Get totalNet
  254.      *
  255.      * @return string
  256.      */
  257.     public function getTotalNet()
  258.     {
  259.         return $this->totalNet;
  260.     }
  261.     /**
  262.      * Set iva
  263.      *
  264.      * @param string $iva
  265.      *
  266.      * @return AveDocInvoiceRec
  267.      */
  268.     public function setIva($iva)
  269.     {
  270.         $this->iva $iva;
  271.         return $this;
  272.     }
  273.     /**
  274.      * Get iva
  275.      *
  276.      * @return string
  277.      */
  278.     public function getIva()
  279.     {
  280.         return $this->iva;
  281.     }
  282.     /**
  283.      * Set vat
  284.      *
  285.      * @param string $vat
  286.      *
  287.      * @return AveDocInvoiceRec
  288.      */
  289.     public function setVat($vat)
  290.     {
  291.         $this->vat $vat;
  292.         return $this;
  293.     }
  294.     /**
  295.      * Get vat
  296.      *
  297.      * @return string
  298.      */
  299.     public function getVat()
  300.     {
  301.         return $this->vat;
  302.     }
  303.     /**
  304.      * Set total
  305.      *
  306.      * @param string $total
  307.      *
  308.      * @return AveDocInvoiceRec
  309.      */
  310.     public function setTotal($total)
  311.     {
  312.         $this->total $total;
  313.         return $this;
  314.     }
  315.     /**
  316.      * Get total
  317.      *
  318.      * @return string
  319.      */
  320.     public function getTotal()
  321.     {
  322.         return $this->total;
  323.     }
  324.     /**
  325.      * Set balance
  326.      *
  327.      * @param string $balance
  328.      *
  329.      * @return AveDocInvoiceRec
  330.      */
  331.     public function setBalance($balance)
  332.     {
  333.         $this->balance $balance;
  334.         return $this;
  335.     }
  336.     /**
  337.      * Get balance
  338.      *
  339.      * @return string
  340.      */
  341.     public function getBalance()
  342.     {
  343.         return $this->balance;
  344.     }
  345.     /**
  346.      * Set master
  347.      *
  348.      * @param string $master
  349.      *
  350.      * @return AveDocInvoiceRec
  351.      */
  352.     public function setMaster($master)
  353.     {
  354.         $this->master $master;
  355.         return $this;
  356.     }
  357.     /**
  358.      * Get master
  359.      *
  360.      * @return string
  361.      */
  362.     public function getMaster()
  363.     {
  364.         return $this->master;
  365.     }
  366.     /**
  367.      * Set number
  368.      *
  369.      * @param string $number
  370.      *
  371.      * @return AveDocInvoiceRec
  372.      */
  373.     public function setNumber($number)
  374.     {
  375.         $this->number $number;
  376.         return $this;
  377.     }
  378.     /**
  379.      * Get number
  380.      *
  381.      * @return string
  382.      */
  383.     public function getNumber()
  384.     {
  385.         return $this->number;
  386.     }
  387.     /**
  388.      * Set name
  389.      *
  390.      * @param string $name
  391.      *
  392.      * @return AveDocInvoiceRec
  393.      */
  394.     public function setName($name)
  395.     {
  396.         $this->name $name;
  397.         return $this;
  398.     }
  399.     /**
  400.      * Get name
  401.      *
  402.      * @return string
  403.      */
  404.     public function getName()
  405.     {
  406.         return $this->name;
  407.     }
  408.     /**
  409.      * Set createdAt
  410.      *
  411.      * @param \DateTime $createdAt
  412.      *
  413.      * @return AveDocInvoiceRec
  414.      */
  415.     public function setCreatedAt($createdAt)
  416.     {
  417.         $this->createdAt $createdAt;
  418.         return $this;
  419.     }
  420.     /**
  421.      * Get createdAt
  422.      *
  423.      * @return \DateTime
  424.      */
  425.     public function getCreatedAt()
  426.     {
  427.         return $this->createdAt;
  428.     }
  429.     /**
  430.      * Set createdId
  431.      *
  432.      * @param integer $createdId
  433.      *
  434.      * @return AveDocInvoiceRec
  435.      */
  436.     public function setCreatedId($createdId)
  437.     {
  438.         $this->createdId $createdId;
  439.         return $this;
  440.     }
  441.     /**
  442.      * Get createdId
  443.      *
  444.      * @return integer
  445.      */
  446.     public function getCreatedId()
  447.     {
  448.         return $this->createdId;
  449.     }
  450.     /**
  451.      * Set updatedAt
  452.      *
  453.      * @param \DateTime $updatedAt
  454.      *
  455.      * @return AveDocInvoiceRec
  456.      */
  457.     public function setUpdatedAt($updatedAt)
  458.     {
  459.         $this->updatedAt $updatedAt;
  460.         return $this;
  461.     }
  462.     /**
  463.      * Get updatedAt
  464.      *
  465.      * @return \DateTime
  466.      */
  467.     public function getUpdatedAt()
  468.     {
  469.         return $this->updatedAt;
  470.     }
  471.     /**
  472.      * Set updatedId
  473.      *
  474.      * @param integer $updatedId
  475.      *
  476.      * @return AveDocInvoiceRec
  477.      */
  478.     public function setUpdatedId($updatedId)
  479.     {
  480.         $this->updatedId $updatedId;
  481.         return $this;
  482.     }
  483.     /**
  484.      * Get updatedId
  485.      *
  486.      * @return integer
  487.      */
  488.     public function getUpdatedId()
  489.     {
  490.         return $this->updatedId;
  491.     }
  492.     public function getDeliveryNote(): ?\App\Entity\DeliveryNote
  493.     {
  494.         return $this->deliveryNote;
  495.     }
  496.     public function setDeliveryNote(?\App\Entity\DeliveryNote $deliveryNote): self
  497.     {
  498.         $this->deliveryNote $deliveryNote;
  499.         return $this;
  500.     }
  501. }