src/Entity/Invoice/Invoice.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Invoice;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Gedmo\Mapping\Annotation as Gedmo;
  5. /**
  6.  * @ORM\Table(name="invoice")
  7.  * @ORM\Entity()
  8.  */
  9. class Invoice
  10. {
  11.     /**
  12.      * @ORM\Column(type="integer")
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue(strategy="AUTO")
  15.      */
  16.     protected $id;
  17.     /**
  18.      * @ORM\ManyToOne(targetEntity="App\Entity\Customer\Customer", inversedBy="invoices")
  19.      * @ORM\JoinColumn(name="customer_id", referencedColumnName="id")
  20.      */
  21.     protected $customer;
  22.     /**
  23.      * @ORM\Column(type="string", length=100)
  24.      */
  25.     protected $sub;
  26.     /**
  27.      * @ORM\Column(type="string", length=100)
  28.      */
  29.     protected $number;
  30.     /**
  31.      * @ORM\Column(type="string", length=100)
  32.      */
  33.     protected $guide_number;
  34.     /**
  35.      * @ORM\Column(type="string", length=255)
  36.      */
  37.     protected $guide_attachment;
  38.     /**
  39.      * @ORM\Column(type="decimal", name="handling", precision=10, scale=2, nullable=true)
  40.      */
  41.     protected $handling;
  42.     /**
  43.      * @ORM\Column(type="decimal", name="copies", precision=10, scale=2, nullable=true)
  44.      */
  45.     protected $copies;
  46.     /**
  47.      * @ORM\Column(type="string", length=100)
  48.      */
  49.     protected $dmc_in;
  50.     /**
  51.      * @ORM\Column(type="decimal", name="dmc_in_total", precision=10, scale=2, nullable=true)
  52.      */
  53.     protected $dmc_in_total;
  54.     /**
  55.      * @ORM\Column(type="string", length=100)
  56.      */
  57.     protected $dmc_out;
  58.     /**
  59.      * @ORM\Column(type="decimal", name="dmc_out_total", precision=10, scale=2, nullable=true)
  60.      */
  61.     protected $dmc_out_total;
  62.     /**
  63.      * @ORM\Column(type="string", length=255)
  64.      */
  65.     protected $pre_attachment;
  66.     /**
  67.      * @ORM\Column(type="decimal", name="ti_total", precision=10, scale=2, nullable=true)
  68.      */
  69.     protected $ti_total;
  70.     /**
  71.      * @ORM\Column(type="decimal", name="ti_cash", precision=10, scale=2, nullable=true)
  72.      */
  73.     protected $ti_cash;
  74.     /**
  75.      * @ORM\Column(type="string", length=255)
  76.      */
  77.     protected $ti_attachment;
  78.     /**
  79.      * @ORM\Column(type="string", length=255)
  80.      */
  81.     protected $stamp_text;
  82.     /**
  83.      * @ORM\Column(type="decimal", name="stamp_total", precision=10, scale=2, nullable=true)
  84.      */
  85.     protected $stamp_total;
  86.     /**
  87.      * @ORM\Column(type="decimal", name="stamp_cost", precision=10, scale=2, nullable=true)
  88.      */
  89.     protected $stamp_cost;
  90.     /**
  91.      * @ORM\Column(type="decimal", name="online_payment", precision=10, scale=2, nullable=true)
  92.      */
  93.     protected $online_payment;
  94.     /**
  95.      * @ORM\Column(type="decimal", name="additional_form", precision=10, scale=2, nullable=true)
  96.      */
  97.     protected $additional_form;
  98.     /**
  99.      * @ORM\Column(type="decimal", name="unload_load", precision=10, scale=2, nullable=true)
  100.      */
  101.     protected $unload_load;
  102.     /**
  103.      * @ORM\Column(type="decimal", name="ramp", precision=10, scale=2, nullable=true)
  104.      */
  105.     protected $ramp;
  106.     /**
  107.      * @ORM\Column(type="decimal", name="forklift", precision=10, scale=2, nullable=true)
  108.      */
  109.     protected $forklift;
  110.     /**
  111.      * @ORM\Column(type="decimal", name="overtime", precision=10, scale=2, nullable=true)
  112.      */
  113.     protected $overtime;
  114.     /**
  115.      * @ORM\Column(type="decimal", name="warehouse", precision=10, scale=2, nullable=true)
  116.      */
  117.     protected $warehouse;
  118.     /**
  119.      * @ORM\Column(type="string", length=1000)
  120.      */
  121.     protected $warehouse_text;
  122.     /**
  123.      * @ORM\Column(type="decimal", name="quarantine", precision=10, scale=2, nullable=true)
  124.      */
  125.     protected $quarantine;
  126.     /**
  127.      * @ORM\Column(type="decimal", name="quarantine_bank_charge", precision=10, scale=2, nullable=true)
  128.      */
  129.     protected $quarantine_bank_charge;
  130.     /**
  131.      * @ORM\Column(type="decimal", name="apa", precision=10, scale=2, nullable=true)
  132.      */
  133.     protected $apa;
  134.     /**
  135.      * @ORM\Column(type="decimal", name="total", precision=10, scale=2, nullable=true)
  136.      */
  137.     protected $total;
  138.     /**
  139.      * @ORM\Column(type="decimal", name="expense", precision=10, scale=2, nullable=true)
  140.      */
  141.     protected $expense;
  142.     /**
  143.      * @ORM\Column(type="decimal", name="profit", precision=10, scale=2, nullable=true)
  144.      */
  145.     protected $profit;
  146.     /**
  147.      * @ORM\Column(name="invoice_date", type="datetime")
  148.      */
  149.     protected $invoice_date;
  150.     /**
  151.      * @ORM\Column(type="datetime")
  152.      */
  153.     //protected $due_date;
  154.     /**
  155.      * @var boolean
  156.      *
  157.      * @ORM\Column(name="paid", type="boolean", nullable=true)
  158.      */
  159.     private $paid false;
  160.     /**
  161.      * @ORM\Column(type="datetime", nullable=true)
  162.      */
  163.     protected $paid_date;
  164.     /**
  165.      * @var int $paid_by
  166.      *
  167.      * @ORM\ManyToOne(targetEntity="\App\Entity\User\User")
  168.      * @ORM\JoinColumn(name="paid_by", referencedColumnName="id", onDelete="CASCADE")
  169.      */
  170.     private $paid_by;
  171.     /**
  172.      * @ORM\Column(type="datetime", nullable=true)
  173.      */
  174.     protected $deleted;
  175.     /**
  176.      * @var mixed
  177.      *
  178.      * @ORM\OneToMany(targetEntity="\App\Entity\Invoice\InvoiceDmcIn", mappedBy="invoice", cascade={"persist"})
  179.      */
  180.     private $dmc_ins;
  181.     /**
  182.      * @var mixed
  183.      *
  184.      * @ORM\OneToMany(targetEntity="\App\Entity\Invoice\InvoiceDmcOut", mappedBy="invoice", cascade={"persist"})
  185.      */
  186.     private $dmc_outs;
  187.     /**
  188.      * @var mixed
  189.      *
  190.      * @ORM\OneToMany(targetEntity="\App\Entity\Invoice\InvoiceFile", mappedBy="invoice", cascade={"persist"})
  191.      */
  192.     private $files;
  193.     /**
  194.      * @ORM\Column(name="isdeleted", type="boolean")
  195.      */
  196.     //protected $isdeleted;
  197.     /**
  198.      * @var int $created_by
  199.      *
  200.      * @Gedmo\Blameable(on="create")
  201.      * @ORM\ManyToOne(targetEntity="\GEL\Bundle\Admin\UserBundle\Entity\User")
  202.      * @ORM\JoinColumn(name="created_by", referencedColumnName="id", onDelete="CASCADE")
  203.      */
  204.     //private $created_by;
  205.     /**
  206.      * Constructor
  207.      */
  208.     public function __construct()
  209.     {
  210.         $this->dmc_ins = new \Doctrine\Common\Collections\ArrayCollection();
  211.         $this->dmc_outs = new \Doctrine\Common\Collections\ArrayCollection();
  212.         $this->files = new \Doctrine\Common\Collections\ArrayCollection();
  213.     }
  214.     /**
  215.      * Get id
  216.      *
  217.      * @return integer 
  218.      */
  219.     public function getId()
  220.     {
  221.         return $this->id;
  222.     }
  223.     /**
  224.      * Set sub
  225.      *
  226.      * @param string $sub
  227.      * @return Invoice
  228.      */
  229.     public function setSub($sub)
  230.     {
  231.         $this->sub $sub;
  232.         return $this;
  233.     }
  234.     /**
  235.      * Get sub
  236.      *
  237.      * @return string 
  238.      */
  239.     public function getSub()
  240.     {
  241.         return $this->sub;
  242.     }
  243.     /**
  244.      * Set number
  245.      *
  246.      * @param string $number
  247.      * @return Invoice
  248.      */
  249.     public function setNumber($number)
  250.     {
  251.         $this->number $number;
  252.         return $this;
  253.     }
  254.     /**
  255.      * Get number
  256.      *
  257.      * @return string 
  258.      */
  259.     public function getNumber()
  260.     {
  261.         return $this->number;
  262.     }
  263.     /**
  264.      * Set guide_number
  265.      *
  266.      * @param string $guide_number
  267.      * @return Invoice
  268.      */
  269.     public function setGuideNumber($guide_number)
  270.     {
  271.         $this->guide_number $guide_number;
  272.         return $this;
  273.     }
  274.     /**
  275.      * Get guide_number
  276.      *
  277.      * @return string 
  278.      */
  279.     public function getGuideNumber()
  280.     {
  281.         return $this->guide_number;
  282.     }
  283.     /**
  284.      * Set guide_attachment
  285.      *
  286.      * @param string $guide_attachment
  287.      * @return Invoice
  288.      */
  289.     public function setGuideAttachment($guide_attachment)
  290.     {
  291.         $this->guide_attachment $guide_attachment;
  292.         return $this;
  293.     }
  294.     /**
  295.      * Get guide_attachment
  296.      *
  297.      * @return string 
  298.      */
  299.     public function getGuideAttachment()
  300.     {
  301.         return $this->guide_attachment;
  302.     }
  303.     /**
  304.      * Set handling
  305.      *
  306.      * @param decimal $handling
  307.      * @return Invoice
  308.      */
  309.     public function setHandling($handling)
  310.     {
  311.         $this->handling $handling;
  312.         return $this;
  313.     }
  314.     /**
  315.      * Get handling
  316.      *
  317.      * @return decimal
  318.      */
  319.     public function getHandling()
  320.     {
  321.         return $this->handling;
  322.     }
  323.     /**
  324.      * Set copies
  325.      *
  326.      * @param decimal $copies
  327.      * @return Invoice
  328.      */
  329.     public function setCopies($copies)
  330.     {
  331.         $this->copies $copies;
  332.         return $this;
  333.     }
  334.     /**
  335.      * Get copies
  336.      *
  337.      * @return decimal
  338.      */
  339.     public function getCopies()
  340.     {
  341.         return $this->copies;
  342.     }
  343.     /**
  344.      * Set dmc_in
  345.      *
  346.      * @param string $dmc_in
  347.      * @return Invoice
  348.      */
  349.     public function setDmcIn($dmc_in)
  350.     {
  351.         $this->dmc_in $dmc_in;
  352.         return $this;
  353.     }
  354.     /**
  355.      * Get dmc_in
  356.      *
  357.      * @return string 
  358.      */
  359.     public function getDmcIn()
  360.     {
  361.         return $this->dmc_in;
  362.     }
  363.     /**
  364.      * Set dmc_in_total
  365.      *
  366.      * @param decimal $dmc_in_total
  367.      * @return Invoice
  368.      */
  369.     public function setDmcInTotal($dmc_in_total)
  370.     {
  371.         $this->dmc_in_total $dmc_in_total;
  372.         return $this;
  373.     }
  374.     /**
  375.      * Get dmc_in_total
  376.      *
  377.      * @return decimal
  378.      */
  379.     public function getDmcInTotal()
  380.     {
  381.         return $this->dmc_in_total;
  382.     }
  383.     /**
  384.      * Set dmc_out
  385.      *
  386.      * @param string $dmc_out
  387.      * @return Invoice
  388.      */
  389.     public function setDmcOut($dmc_out)
  390.     {
  391.         $this->dmc_out $dmc_out;
  392.         return $this;
  393.     }
  394.     /**
  395.      * Get dmc_out
  396.      *
  397.      * @return string 
  398.      */
  399.     public function getDmcOut()
  400.     {
  401.         return $this->dmc_out;
  402.     }
  403.     /**
  404.      * Set dmc_out_total
  405.      *
  406.      * @param decimal $dmc_out_total
  407.      * @return Invoice
  408.      */
  409.     public function setDmcOutTotal($dmc_out_total)
  410.     {
  411.         $this->dmc_out_total $dmc_out_total;
  412.         return $this;
  413.     }
  414.     /**
  415.      * Get dmc_out_total
  416.      *
  417.      * @return decimal
  418.      */
  419.     public function getDmcOutTotal()
  420.     {
  421.         return $this->dmc_out_total;
  422.     }
  423.     /**
  424.      * Set pre_attachment
  425.      *
  426.      * @param string $pre_attachment
  427.      * @return Invoice
  428.      */
  429.     public function setPreAttachment($pre_attachment)
  430.     {
  431.         $this->pre_attachment $pre_attachment;
  432.         return $this;
  433.     }
  434.     /**
  435.      * Get pre_attachment
  436.      *
  437.      * @return string 
  438.      */
  439.     public function getPreAttachment()
  440.     {
  441.         return $this->pre_attachment;
  442.     }
  443.     /**
  444.      * Set ti_total
  445.      *
  446.      * @param decimal $ti_total
  447.      * @return Invoice
  448.      */
  449.     public function setTiTotal($ti_total)
  450.     {
  451.         $this->ti_total $ti_total;
  452.         return $this;
  453.     }
  454.     /**
  455.      * Get ti_total
  456.      *
  457.      * @return decimal
  458.      */
  459.     public function getTiTotal()
  460.     {
  461.         return $this->ti_total;
  462.     }
  463.     /**
  464.      * Set ti_cash
  465.      *
  466.      * @param decimal $ti_cash
  467.      * @return Invoice
  468.      */
  469.     public function setTiCash($ti_cash)
  470.     {
  471.         $this->ti_cash $ti_cash;
  472.         return $this;
  473.     }
  474.     /**
  475.      * Get ti_cash
  476.      *
  477.      * @return decimal
  478.      */
  479.     public function getTiCash()
  480.     {
  481.         return $this->ti_cash;
  482.     }
  483.     /**
  484.      * Set ti_attachment
  485.      *
  486.      * @param string $ti_attachment
  487.      * @return Invoice
  488.      */
  489.     public function setTiAttachment($ti_attachment)
  490.     {
  491.         $this->ti_attachment $ti_attachment;
  492.         return $this;
  493.     }
  494.     /**
  495.      * Get ti_attachment
  496.      *
  497.      * @return string 
  498.      */
  499.     public function getTiAttachment()
  500.     {
  501.         return $this->ti_attachment;
  502.     }
  503.     /**
  504.      * Set stamp_text
  505.      *
  506.      * @param string $stamp_text
  507.      * @return Invoice
  508.      */
  509.     public function setStampText($stamp_text)
  510.     {
  511.         $this->stamp_text $stamp_text;
  512.         return $this;
  513.     }
  514.     /**
  515.      * Get stamp_text
  516.      *
  517.      * @return string 
  518.      */
  519.     public function getStampText()
  520.     {
  521.         return $this->stamp_text;
  522.     }
  523.     /**
  524.      * Set stamp_total
  525.      *
  526.      * @param decimal $stamp_total
  527.      * @return Invoice
  528.      */
  529.     public function setStampTotal($stamp_total)
  530.     {
  531.         $this->stamp_total $stamp_total;
  532.         return $this;
  533.     }
  534.     /**
  535.      * Get stamp_total
  536.      *
  537.      * @return decimal
  538.      */
  539.     public function getStampTotal()
  540.     {
  541.         return $this->stamp_total;
  542.     }
  543.     /**
  544.      * Set stamp_cost
  545.      *
  546.      * @param decimal $stamp_cost
  547.      * @return Invoice
  548.      */
  549.     public function setStampCost($stamp_cost)
  550.     {
  551.         $this->stamp_cost $stamp_cost;
  552.         return $this;
  553.     }
  554.     /**
  555.      * Get stamp_cost
  556.      *
  557.      * @return decimal
  558.      */
  559.     public function getStampCost()
  560.     {
  561.         return $this->stamp_cost;
  562.     }
  563.     /**
  564.      * Set online_payment
  565.      *
  566.      * @param decimal $online_payment
  567.      * @return Invoice
  568.      */
  569.     public function setOnlinePayment($online_payment)
  570.     {
  571.         $this->online_payment $online_payment;
  572.         return $this;
  573.     }
  574.     /**
  575.      * Get online_payment
  576.      *
  577.      * @return decimal
  578.      */
  579.     public function getOnlinePayment()
  580.     {
  581.         return $this->online_payment;
  582.     }
  583.     /**
  584.      * Set additional_form
  585.      *
  586.      * @param decimal $additional_form
  587.      * @return Invoice
  588.      */
  589.     public function setAdditionalForm($additional_form)
  590.     {
  591.         $this->additional_form $additional_form;
  592.         return $this;
  593.     }
  594.     /**
  595.      * Get additional_form
  596.      *
  597.      * @return decimal
  598.      */
  599.     public function getAdditionalForm()
  600.     {
  601.         return $this->additional_form;
  602.     }
  603.     /**
  604.      * Set unload_load
  605.      *
  606.      * @param decimal $unload_load
  607.      * @return Invoice
  608.      */
  609.     public function setUnloadLoad($unload_load)
  610.     {
  611.         $this->unload_load $unload_load;
  612.         return $this;
  613.     }
  614.     /**
  615.      * Get unload_load
  616.      *
  617.      * @return decimal
  618.      */
  619.     public function getUnloadLoad()
  620.     {
  621.         return $this->unload_load;
  622.     }
  623.     /**
  624.      * Set ramp
  625.      *
  626.      * @param decimal $ramp
  627.      * @return Invoice
  628.      */
  629.     public function setRamp($ramp)
  630.     {
  631.         $this->ramp $ramp;
  632.         return $this;
  633.     }
  634.     /**
  635.      * Get ramp
  636.      *
  637.      * @return decimal
  638.      */
  639.     public function getRamp()
  640.     {
  641.         return $this->ramp;
  642.     }
  643.     /**
  644.      * Set forklift
  645.      *
  646.      * @param decimal $forklift
  647.      * @return Invoice
  648.      */
  649.     public function setForklift($forklift)
  650.     {
  651.         $this->forklift $forklift;
  652.         return $this;
  653.     }
  654.     /**
  655.      * Get forklift
  656.      *
  657.      * @return decimal
  658.      */
  659.     public function getForklift()
  660.     {
  661.         return $this->forklift;
  662.     }
  663.     /**
  664.      * Set overtime
  665.      *
  666.      * @param decimal $overtime
  667.      * @return Invoice
  668.      */
  669.     public function setOvertime($overtime)
  670.     {
  671.         $this->overtime $overtime;
  672.         return $this;
  673.     }
  674.     /**
  675.      * Get overtime
  676.      *
  677.      * @return decimal
  678.      */
  679.     public function getOvertime()
  680.     {
  681.         return $this->overtime;
  682.     }
  683.     /**
  684.      * Set warehouse
  685.      *
  686.      * @param decimal $warehouse
  687.      * @return Invoice
  688.      */
  689.     public function setWarehouse($warehouse)
  690.     {
  691.         $this->warehouse $warehouse;
  692.         return $this;
  693.     }
  694.     /**
  695.      * Get warehouse
  696.      *
  697.      * @return decimal
  698.      */
  699.     public function getWarehouse()
  700.     {
  701.         return $this->warehouse;
  702.     }
  703.     /**
  704.      * Set warehouse_text
  705.      *
  706.      * @param string $warehouse_text
  707.      * @return Invoice
  708.      */
  709.     public function setWarehouseText($warehouse_text)
  710.     {
  711.         $this->warehouse_text $warehouse_text;
  712.         return $this;
  713.     }
  714.     /**
  715.      * Get warehouse_text
  716.      *
  717.      * @return string 
  718.      */
  719.     public function getWarehouseText()
  720.     {
  721.         return $this->warehouse_text;
  722.     }
  723.     /**
  724.      * Set quarantine
  725.      *
  726.      * @param decimal $quarantine
  727.      * @return Invoice
  728.      */
  729.     public function setQuarantine($quarantine)
  730.     {
  731.         $this->quarantine $quarantine;
  732.         return $this;
  733.     }
  734.     /**
  735.      * Get quarantine
  736.      *
  737.      * @return decimal
  738.      */
  739.     public function getQuarantine()
  740.     {
  741.         return $this->quarantine;
  742.     }
  743.     /**
  744.      * Set quarantine_bank_charge
  745.      *
  746.      * @param decimal $quarantine_bank_charge
  747.      * @return Invoice
  748.      */
  749.     public function setQuarantineBankCharge($quarantine_bank_charge)
  750.     {
  751.         $this->quarantine_bank_charge $quarantine_bank_charge;
  752.         return $this;
  753.     }
  754.     /**
  755.      * Get quarantine_bank_charge
  756.      *
  757.      * @return decimal
  758.      */
  759.     public function getQuarantineBankCharge()
  760.     {
  761.         return $this->quarantine_bank_charge;
  762.     }
  763.     /**
  764.      * Set apa
  765.      *
  766.      * @param decimal $apa
  767.      * @return Invoice
  768.      */
  769.     public function setApa($apa)
  770.     {
  771.         $this->apa $apa;
  772.         return $this;
  773.     }
  774.     /**
  775.      * Get apa
  776.      *
  777.      * @return decimal
  778.      */
  779.     public function getApa()
  780.     {
  781.         return $this->apa;
  782.     }
  783.     /**
  784.      * Set total
  785.      *
  786.      * @param decimal $total
  787.      * @return Invoice
  788.      */
  789.     public function setTotal($total)
  790.     {
  791.         $this->total $total;
  792.         return $this;
  793.     }
  794.     /**
  795.      * Get total
  796.      *
  797.      * @return decimal
  798.      */
  799.     public function getTotal()
  800.     {
  801.         return $this->total;
  802.     }
  803.     /**
  804.      * Set expense
  805.      *
  806.      * @param decimal $expense
  807.      * @return Invoice
  808.      */
  809.     public function setExpense($expense)
  810.     {
  811.         $this->expense $expense;
  812.         return $this;
  813.     }
  814.     /**
  815.      * Get expense
  816.      *
  817.      * @return decimal
  818.      */
  819.     public function getExpense()
  820.     {
  821.         return $this->expense;
  822.     }
  823.     /**
  824.      * Set profit
  825.      *
  826.      * @param decimal $profit
  827.      * @return Invoice
  828.      */
  829.     public function setProfit($profit)
  830.     {
  831.         $this->profit $profit;
  832.         return $this;
  833.     }
  834.     /**
  835.      * Get profit
  836.      *
  837.      * @return decimal
  838.      */
  839.     public function getProfit()
  840.     {
  841.         return $this->profit;
  842.     }
  843.     /**
  844.      * Set invoice_date
  845.      *
  846.      * @param \DateTime $invoice_date
  847.      * @return Invoice
  848.      */
  849.     public function setInvoiceDate($invoice_date)
  850.     {
  851.         $this->invoice_date $invoice_date;
  852.         return $this;
  853.     }
  854.     /**
  855.      * Get invoice_date
  856.      *
  857.      * @return \DateTime 
  858.      */
  859.     public function getInvoiceDate()
  860.     {
  861.         return $this->invoice_date;
  862.     }
  863.     /**
  864.      * Set due_date
  865.      *
  866.      * @param \DateTime $due_date
  867.      * @return Invoice
  868.      */
  869.     public function setDueDate($due_date)
  870.     {
  871.         $this->due_date $due_date;
  872.         return $this;
  873.     }
  874.     /**
  875.      * Get due_date
  876.      *
  877.      * @return \DateTime 
  878.      */
  879.     public function getDueDate()
  880.     {
  881.         return $this->due_date;
  882.     }
  883.     /**
  884.      * Set paid
  885.      *
  886.      * @param boolean $paid
  887.      * @return Invoice
  888.      */
  889.     public function setPaid($paid)
  890.     {
  891.         $this->paid $paid;
  892.         return $this;
  893.     }
  894.     /**
  895.      * Get paid
  896.      *
  897.      * @return boolean 
  898.      */
  899.     public function getPaid()
  900.     {
  901.         return $this->paid;
  902.     }
  903.     /**
  904.      * Set paid_date
  905.      *
  906.      * @param boolean $paid_date
  907.      * @return Invoice
  908.      */
  909.     public function setPaidDate($paid_date)
  910.     {
  911.         $this->paid_date $paid_date;
  912.         return $this;
  913.     }
  914.     /**
  915.      * Get paid_date
  916.      *
  917.      * @return boolean 
  918.      */
  919.     public function getPaidDate()
  920.     {
  921.         return $this->paid_date;
  922.     }
  923.     /**
  924.      * Set paid_by
  925.      *
  926.      * @param \App\Entity\User\User $paid_by
  927.      * @return Invoice
  928.      */
  929.     public function setPaidBy(\App\Entity\User\User $paid_by null)
  930.     {
  931.         $this->paid_by $paid_by;
  932.         return $this;
  933.     }
  934.     /**
  935.      * Get paid_by
  936.      *
  937.      * @return \App\Entity\User\User
  938.      */
  939.     public function getPaidBy()
  940.     {
  941.         return $this->paid_by;
  942.     }
  943.     /**
  944.      * Set deleted
  945.      *
  946.      * @param boolean $deleted
  947.      * @return Invoice
  948.      */
  949.     public function setDeleted($deleted)
  950.     {
  951.         $this->deleted $deleted;
  952.         return $this;
  953.     }
  954.     /**
  955.      * Get deleted
  956.      *
  957.      * @return boolean 
  958.      */
  959.     public function getDeleted()
  960.     {
  961.         return $this->deleted;
  962.     }
  963.     /**
  964.      * Set customer
  965.      *
  966.      * @param \App\Entity\Customer\Customer $customer
  967.      * @return Invoice
  968.      */
  969.     public function setCustomer(\App\Entity\Customer\Customer $customer null)
  970.     {
  971.         $this->customer $customer;
  972.         return $this;
  973.     }
  974.     /**
  975.      * Get customer
  976.      *
  977.      * @return \App\Entity\Customer\Customer
  978.      */
  979.     public function getCustomer()
  980.     {
  981.         return $this->customer;
  982.     }
  983.     /**
  984.      * Get dmc_ins
  985.      *
  986.      * @return \Doctrine\Common\Collections\Collection 
  987.      */
  988.     public function getDmcIns()
  989.     {
  990.         return $this->dmc_ins;
  991.     }
  992.     /**
  993.      * Get dmc_outs
  994.      *
  995.      * @return \Doctrine\Common\Collections\Collection 
  996.      */
  997.     public function getDmcOuts()
  998.     {
  999.         return $this->dmc_outs;
  1000.     }
  1001.     /**
  1002.      * Get files
  1003.      *
  1004.      * @return \Doctrine\Common\Collections\Collection 
  1005.      */
  1006.     public function getFiles()
  1007.     {
  1008.         return $this->files;
  1009.     }
  1010.     /**
  1011.      * Set isdeleted
  1012.      *
  1013.      * @param boolean $isdeleted
  1014.      * @return Register
  1015.      */
  1016.     public function setIsdeleted($isdeleted)
  1017.     {
  1018.         $this->isdeleted $isdeleted;
  1019.         return $this;
  1020.     }
  1021.     /**
  1022.      * Get isdeleted
  1023.      *
  1024.      * @return boolean 
  1025.      */
  1026.     public function getIsdeleted()
  1027.     {
  1028.         return $this->isdeleted;
  1029.     }
  1030.     /**
  1031.      * Set created_by
  1032.      *
  1033.      * @param int $created_by
  1034.      * @return Request
  1035.      */
  1036.     public function setCreatedBy($created_by)
  1037.     {
  1038.         $this->created_by $created_by;
  1039.     
  1040.         return $this;
  1041.     }
  1042.     /**
  1043.      * Get User
  1044.      *
  1045.      * @return \GEL\Bundle\Admin\UserBundle\Entity\User 
  1046.      */
  1047.     public function getCreatedBy()
  1048.     {
  1049.         return $this->created_by;
  1050.     }
  1051. }