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.      * @ORM\Column(type="string", length=255, nullable=true)
  128.      */
  129.     private $clientName;
  130.     /**
  131.      * @ORM\Column(type="string", length=255, nullable=true)
  132.      */
  133.     private $clientAddress;
  134.     /**
  135.      * @ORM\Column(type="string", length=50, nullable=true)
  136.      */
  137.     private $clientDocument;
  138.     /**
  139.      * @ORM\Column(type="string", length=50, nullable=true)
  140.      */
  141.     private $clientType;
  142.     /**
  143.      * Get id
  144.      *
  145.      * @return int
  146.      */
  147.     public function getId()
  148.     {
  149.         return $this->id;
  150.     }
  151.     /**
  152.      * Set fileId
  153.      *
  154.      * @param integer $fileId
  155.      *
  156.      * @return AveDocInvoiceRec
  157.      */
  158.     public function setFileId($fileId)
  159.     {
  160.         $this->fileId = $fileId;
  161.         return $this;
  162.     }
  163.     /**
  164.      * Get fileId
  165.      *
  166.      * @return integer
  167.      */
  168.     public function getFileId()
  169.     {
  170.         return $this->fileId;
  171.     }
  172.     /**
  173.      * Set invoiceToRec
  174.      *
  175.      * @param integer $invoiceToRec
  176.      *
  177.      * @return AveDocInvoiceRec
  178.      */
  179.     public function setInvoiceToRec($invoiceToRec)
  180.     {
  181.         $this->invoiceToRec = $invoiceToRec;
  182.         return $this;
  183.     }
  184.     /**
  185.      * Get invoiceToRec
  186.      *
  187.      * @return integer
  188.      */
  189.     public function getInvoiceToRec()
  190.     {
  191.         return $this->invoiceToRec;
  192.     }
  193.     /**
  194.      * Set prefix
  195.      *
  196.      * @param string $prefix
  197.      *
  198.      * @return AveDocInvoiceRec
  199.      */
  200.     public function setPrefix($prefix)
  201.     {
  202.         $this->prefix = $prefix;
  203.         return $this;
  204.     }
  205.     /**
  206.      * Get prefix
  207.      *
  208.      * @return string
  209.      */
  210.     public function getPrefix()
  211.     {
  212.         return $this->prefix;
  213.     }
  214.     /**
  215.      * Set dateAt
  216.      *
  217.      * @param \DateTime $dateAt
  218.      *
  219.      * @return AveDocInvoiceRec
  220.      */
  221.     public function setDateAt($dateAt)
  222.     {
  223.         $this->dateAt = $dateAt;
  224.         return $this;
  225.     }
  226.     /**
  227.      * Get dateAt
  228.      *
  229.      * @return \DateTime
  230.      */
  231.     public function getDateAt()
  232.     {
  233.         return $this->dateAt;
  234.     }
  235.     /**
  236.      * Set type
  237.      *
  238.      * @param string $type
  239.      *
  240.      * @return AveDocInvoiceRec
  241.      */
  242.     public function setType($type)
  243.     {
  244.         $this->type = $type;
  245.         return $this;
  246.     }
  247.     /**
  248.      * Get type
  249.      *
  250.      * @return string
  251.      */
  252.     public function getType()
  253.     {
  254.         return $this->type;
  255.     }
  256.     /**
  257.      * Set totalNet
  258.      *
  259.      * @param string $totalNet
  260.      *
  261.      * @return AveDocInvoiceRec
  262.      */
  263.     public function setTotalNet($totalNet)
  264.     {
  265.         $this->totalNet = $totalNet;
  266.         return $this;
  267.     }
  268.     /**
  269.      * Get totalNet
  270.      *
  271.      * @return string
  272.      */
  273.     public function getTotalNet()
  274.     {
  275.         return $this->totalNet;
  276.     }
  277.     /**
  278.      * Set iva
  279.      *
  280.      * @param string $iva
  281.      *
  282.      * @return AveDocInvoiceRec
  283.      */
  284.     public function setIva($iva)
  285.     {
  286.         $this->iva = $iva;
  287.         return $this;
  288.     }
  289.     /**
  290.      * Get iva
  291.      *
  292.      * @return string
  293.      */
  294.     public function getIva()
  295.     {
  296.         return $this->iva;
  297.     }
  298.     /**
  299.      * Set vat
  300.      *
  301.      * @param string $vat
  302.      *
  303.      * @return AveDocInvoiceRec
  304.      */
  305.     public function setVat($vat)
  306.     {
  307.         $this->vat = $vat;
  308.         return $this;
  309.     }
  310.     /**
  311.      * Get vat
  312.      *
  313.      * @return string
  314.      */
  315.     public function getVat()
  316.     {
  317.         return $this->vat;
  318.     }
  319.     /**
  320.      * Set total
  321.      *
  322.      * @param string $total
  323.      *
  324.      * @return AveDocInvoiceRec
  325.      */
  326.     public function setTotal($total)
  327.     {
  328.         $this->total = $total;
  329.         return $this;
  330.     }
  331.     /**
  332.      * Get total
  333.      *
  334.      * @return string
  335.      */
  336.     public function getTotal()
  337.     {
  338.         return $this->total;
  339.     }
  340.     /**
  341.      * Set balance
  342.      *
  343.      * @param string $balance
  344.      *
  345.      * @return AveDocInvoiceRec
  346.      */
  347.     public function setBalance($balance)
  348.     {
  349.         $this->balance = $balance;
  350.         return $this;
  351.     }
  352.     /**
  353.      * Get balance
  354.      *
  355.      * @return string
  356.      */
  357.     public function getBalance()
  358.     {
  359.         return $this->balance;
  360.     }
  361.     /**
  362.      * Set master
  363.      *
  364.      * @param string $master
  365.      *
  366.      * @return AveDocInvoiceRec
  367.      */
  368.     public function setMaster($master)
  369.     {
  370.         $this->master = $master;
  371.         return $this;
  372.     }
  373.     /**
  374.      * Get master
  375.      *
  376.      * @return string
  377.      */
  378.     public function getMaster()
  379.     {
  380.         return $this->master;
  381.     }
  382.     /**
  383.      * Set number
  384.      *
  385.      * @param string $number
  386.      *
  387.      * @return AveDocInvoiceRec
  388.      */
  389.     public function setNumber($number)
  390.     {
  391.         $this->number = $number;
  392.         return $this;
  393.     }
  394.     /**
  395.      * Get number
  396.      *
  397.      * @return string
  398.      */
  399.     public function getNumber()
  400.     {
  401.         return $this->number;
  402.     }
  403.     /**
  404.      * Set name
  405.      *
  406.      * @param string $name
  407.      *
  408.      * @return AveDocInvoiceRec
  409.      */
  410.     public function setName($name)
  411.     {
  412.         $this->name = $name;
  413.         return $this;
  414.     }
  415.     /**
  416.      * Get name
  417.      *
  418.      * @return string
  419.      */
  420.     public function getName()
  421.     {
  422.         return $this->name;
  423.     }
  424.     /**
  425.      * Set createdAt
  426.      *
  427.      * @param \DateTime $createdAt
  428.      *
  429.      * @return AveDocInvoiceRec
  430.      */
  431.     public function setCreatedAt($createdAt)
  432.     {
  433.         $this->createdAt = $createdAt;
  434.         return $this;
  435.     }
  436.     /**
  437.      * Get createdAt
  438.      *
  439.      * @return \DateTime
  440.      */
  441.     public function getCreatedAt()
  442.     {
  443.         return $this->createdAt;
  444.     }
  445.     /**
  446.      * Set createdId
  447.      *
  448.      * @param integer $createdId
  449.      *
  450.      * @return AveDocInvoiceRec
  451.      */
  452.     public function setCreatedId($createdId)
  453.     {
  454.         $this->createdId = $createdId;
  455.         return $this;
  456.     }
  457.     /**
  458.      * Get createdId
  459.      *
  460.      * @return integer
  461.      */
  462.     public function getCreatedId()
  463.     {
  464.         return $this->createdId;
  465.     }
  466.     /**
  467.      * Set updatedAt
  468.      *
  469.      * @param \DateTime $updatedAt
  470.      *
  471.      * @return AveDocInvoiceRec
  472.      */
  473.     public function setUpdatedAt($updatedAt)
  474.     {
  475.         $this->updatedAt = $updatedAt;
  476.         return $this;
  477.     }
  478.     /**
  479.      * Get updatedAt
  480.      *
  481.      * @return \DateTime
  482.      */
  483.     public function getUpdatedAt()
  484.     {
  485.         return $this->updatedAt;
  486.     }
  487.     /**
  488.      * Set updatedId
  489.      *
  490.      * @param integer $updatedId
  491.      *
  492.      * @return AveDocInvoiceRec
  493.      */
  494.     public function setUpdatedId($updatedId)
  495.     {
  496.         $this->updatedId = $updatedId;
  497.         return $this;
  498.     }
  499.     /**
  500.      * Get updatedId
  501.      *
  502.      * @return integer
  503.      */
  504.     public function getUpdatedId()
  505.     {
  506.         return $this->updatedId;
  507.     }
  508.     public function getDeliveryNote(): ?\App\Entity\DeliveryNote
  509.     {
  510.         return $this->deliveryNote;
  511.     }
  512.     public function setDeliveryNote(?\App\Entity\DeliveryNote $deliveryNote): self
  513.     {
  514.         $this->deliveryNote = $deliveryNote;
  515.         return $this;
  516.     }
  517.     public function getClientName(): ?string
  518.     {
  519.         return $this->clientName;
  520.     }
  521.     public function setClientName(string $clientName): self
  522.     {
  523.         $this->clientName = $clientName;
  524.         return $this;
  525.     }
  526.     public function getClientAddress(): ?string
  527.     {
  528.         return $this->clientAddress;
  529.     }
  530.     public function setClientAddress(string $clientAddress): self
  531.     {
  532.         $this->clientAddress = $clientAddress;
  533.         return $this;
  534.     }
  535.     public function getClientDocument(): ?string
  536.     {
  537.         return $this->clientDocument;
  538.     }
  539.     public function setClientDocument(string $clientDocument): self
  540.     {
  541.         $this->clientDocument = $clientDocument;
  542.         return $this;
  543.     }
  544.     public function getClientType(): ?string
  545.     {
  546.         return $this->clientType;
  547.     }
  548.     public function setClientType(string $clientType): self
  549.     {
  550.         $this->clientType = $clientType;
  551.         return $this;
  552.     }
  553. }