src/Entity/Invoices.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\InvoicesRepository")
  6.  */
  7. class Invoices
  8. {
  9.     /**
  10.      * @ORM\Id()
  11.      * @ORM\GeneratedValue()
  12.      * @ORM\Column(type="integer")
  13.      */
  14.     private $id;
  15.     /**
  16.      * @ORM\Column(type="string", length=255, nullable=true)
  17.      */
  18.     private $number;
  19.     /**
  20.      * @ORM\Column(type="string", length=255, nullable=true)
  21.      */
  22.     private $company;
  23.     /**
  24.      * @ORM\Column(type="bigint", length=255, nullable=true)
  25.      */
  26.     private $numberInt;
  27.     /**
  28.      * @ORM\Column(type="integer", nullable=true, options={"default" : 0})
  29.      */
  30.     private $client;
  31.     /**
  32.      * @ORM\Column(type="integer", nullable=true, options={"default" : 7})
  33.      */
  34.     private $forecast;
  35.     /**
  36.      * @ORM\Column(type="datetime")
  37.      */
  38.     private $billDate;
  39.     /**
  40.      * @ORM\Column(type="datetime")
  41.      */
  42.     private $dueDate;
  43.     /**
  44.      * @ORM\Column(type="float")
  45.      */
  46.     private $grossValue;
  47.     /**
  48.      * @ORM\Column(type="float", nullable=true)
  49.      */
  50.     private $taxValue;
  51.     /**
  52.      * @ORM\Column(type="float", nullable=true)
  53.      */
  54.     private $netValue;
  55.     /**
  56.      * @ORM\Column(type="float", nullable=true)
  57.      */
  58.     private $dateDiff;
  59.     /**
  60.      * @ORM\Column(type="text", nullable=true)
  61.      */
  62.     private $description;
  63.     /**
  64.      * @ORM\Column(type="text", nullable=true)
  65.      */
  66.     private $deadlineNote;
  67.     /**
  68.      * @ORM\Column(type="text", nullable=true)
  69.      */
  70.     private $service;
  71.     /**
  72.      * @ORM\Column(type="string", length=255)
  73.      */
  74.     private $status;
  75.     /**
  76.      * @ORM\Column(type="string", length=255)
  77.      */
  78.     private $type;
  79.     /**
  80.      * @ORM\Column(type="string", length=255)
  81.      */
  82.     private $customerPrio;
  83.     /**
  84.      * @ORM\Column(type="datetime")
  85.      */
  86.     private $createdDate;
  87.     /**
  88.      * @ORM\Column(type="datetime", nullable=true)
  89.      */
  90.     private $updatedDate;
  91.     /**
  92.      * @ORM\Column(type="datetime", nullable=true)
  93.      */
  94.     private $deadline;
  95.     /**
  96.      * @ORM\Column(type="datetime", nullable=true)
  97.      */
  98.     private $lastNotifying;
  99.     /**
  100.      * @ORM\Column(type="datetime", nullable=true)
  101.      */
  102.     private $paidDate;
  103.     /**
  104.      * @ORM\Column(type="integer", nullable=true, options={"default" : 0})
  105.      */
  106.     private $emailsCount;
  107.     /**
  108.      * @ORM\Column(type="boolean", nullable=true)
  109.      */
  110.     private $pozycjonowanie;
  111.     /**
  112.      * @ORM\Column(type="boolean", nullable=true)
  113.      */
  114.     private $gads;
  115.     /**
  116.      * @ORM\Column(type="boolean", nullable=true)
  117.      */
  118.     private $fads;
  119.     /**
  120.      * @ORM\Column(type="boolean", nullable=true)
  121.      */
  122.     private $opinie;
  123.     /**
  124.      * @ORM\Column(type="boolean", nullable=true)
  125.      */
  126.     private $reklama;
  127.     /**
  128.      * @ORM\Column(type="boolean", nullable=true)
  129.      */
  130.     private $domena;
  131.     /**
  132.      * @ORM\Column(type="boolean", nullable=true)
  133.      */
  134.     private $hosting;
  135.     /**
  136.      * @ORM\Column(type="boolean", nullable=true)
  137.      */
  138.     private $sslt;
  139.     /**
  140.      * @ORM\Column(type="boolean", nullable=true)
  141.      */
  142.     private $rata;
  143.     /**
  144.      * @ORM\Column(type="boolean", nullable=true)
  145.      */
  146.     private $prototyp;
  147.     /**
  148.      * @ORM\Column(type="boolean", nullable=true)
  149.      */
  150.     private $grafika;
  151.     /**
  152.      * @ORM\Column(type="boolean", nullable=true)
  153.      */
  154.     private $programowanie;
  155.     /**
  156.      * @ORM\Column(type="boolean", nullable=true)
  157.      */
  158.     private $aktualizacja;
  159.     /**
  160.      * @ORM\Column(type="boolean", nullable=true)
  161.      */
  162.     private $opieka;
  163.     /**
  164.      * @ORM\Column(type="boolean", nullable=true)
  165.      */
  166.     private $archiwizacja;
  167.     /**
  168.      * @ORM\Column(type="boolean", nullable=true)
  169.      */
  170.     private $logo;
  171.     /**
  172.      * @ORM\Column(type="boolean", nullable=true)
  173.      */
  174.     private $identyfikacja;
  175.     /**
  176.      * @ORM\Column(type="boolean", nullable=true)
  177.      */
  178.     private $pgraficzne;
  179.     /**
  180.      * @ORM\Column(type="boolean", nullable=true)
  181.      */
  182.     private $zwiekszeniehostingu;
  183.     /**
  184.      * @ORM\Column(type="boolean", nullable=true)
  185.      */
  186.     private $inne;
  187.     /**
  188.      * @ORM\Column(type="integer", nullable=true, options={"default" : 0})
  189.      */
  190.     private $smsCount;
  191.     /**
  192.      * @ORM\OneToMany(targetEntity="InvoicesItems", fetch="EAGER", mappedBy="invoice")
  193.      * @ORM\JoinColumn(name="items", referencedColumnName="id")
  194.      */
  195.     private $items;
  196.     /**
  197.      * @ORM\OneToMany(targetEntity="InvoicesPayers", fetch="EAGER", mappedBy="invoice")
  198.      * @ORM\JoinColumn(name="payer", referencedColumnName="id")
  199.      */
  200.     private $payer;
  201.     /**
  202.      * @ORM\OneToMany(targetEntity="InvoicesOwnerData", fetch="EAGER", mappedBy="invoice")
  203.      * @ORM\JoinColumn(name="ownerData", referencedColumnName="id")
  204.      */
  205.     private $ownerData;
  206.  
  207.   /**
  208.      * @ORM\Column(type="text", nullable=true)
  209.      */
  210.     private $comment;
  211.     /**
  212.      * @ORM\Column(type="boolean", nullable=true)
  213.      */
  214.     private $opiekaWizytowka;
  215.     /**
  216.      * @ORM\Column(type="boolean", nullable=true)
  217.      */
  218.     private $praceProgramistyczne;
  219.     public function getId(): ?int
  220.     {
  221.         return $this->id;
  222.     }
  223.     public function getNumber(): ?string
  224.     {
  225.         return $this->number;
  226.     }
  227.     public function setNumber(?string $number): self
  228.     {
  229.         $this->number $number;
  230.         return $this;
  231.     }
  232.     public function getCompany(): ?string
  233.     {
  234.         return $this->company;
  235.     }
  236.     public function setCompany(?string $company): self
  237.     {
  238.         $this->company $company;
  239.         return $this;
  240.     }
  241.     public function getNumberInt(): ?string
  242.     {
  243.         return $this->numberInt;
  244.     }
  245.     public function setNumberInt(?string $numberInt): self
  246.     {
  247.         $this->numberInt $numberInt;
  248.         return $this;
  249.     }
  250.     public function getClient(): ?string
  251.     {
  252.         return $this->client;
  253.     }
  254.     public function setClient(?string $client): self
  255.     {
  256.         $this->client $client;
  257.         return $this;
  258.     }
  259.     public function getForecast(): ?string
  260.     {
  261.         return $this->forecast;
  262.     }
  263.     public function setForecast(?string $forecast): self
  264.     {
  265.         $this->forecast $forecast;
  266.         return $this;
  267.     }
  268.     public function getBillDate(): ?\DateTimeInterface
  269.     {
  270.         return $this->billDate;
  271.     }
  272.     public function setBillDate(\DateTimeInterface $billDate): self
  273.     {
  274.         $this->billDate $billDate;
  275.         return $this;
  276.     }
  277.     public function getDueDate(): ?\DateTimeInterface
  278.     {
  279.         return $this->dueDate;
  280.     }
  281.     public function setDueDate(\DateTimeInterface $dueDate): self
  282.     {
  283.         $this->dueDate $dueDate;
  284.         return $this;
  285.     }
  286.     public function getGrossValue(): ?float
  287.     {
  288.         return $this->grossValue;
  289.     }
  290.     public function setGrossValue(float $grossValue): self
  291.     {
  292.         $this->grossValue $grossValue;
  293.         return $this;
  294.     }
  295.     public function getTaxValue(): ?float
  296.     {
  297.         return $this->taxValue;
  298.     }
  299.     public function setTaxValue(?float $taxValue): self
  300.     {
  301.         $this->taxValue $taxValue;
  302.         return $this;
  303.     }
  304.     public function getNetValue(): ?float
  305.     {
  306.         return $this->netValue;
  307.     }
  308.     public function setNetValue(?float $netValue): self
  309.     {
  310.         $this->netValue $netValue;
  311.         return $this;
  312.     }
  313.     public function getDateDiff(): ?float
  314.     {
  315.         return $this->dateDiff;
  316.     }
  317.     public function setDateDiff(?float $dateDiff): self
  318.     {
  319.         $this->dateDiff $dateDiff;
  320.         return $this;
  321.     }
  322.     public function getDescription(): ?string
  323.     {
  324.         return $this->description;
  325.     }
  326.     public function setDescription(?string $description): self
  327.     {
  328.         $this->description $description;
  329.         return $this;
  330.     }
  331.     public function getDeadlineNote(): ?string
  332.     {
  333.         return $this->deadlineNote;
  334.     }
  335.     public function setDeadlineNote(?string $deadlineNote): self
  336.     {
  337.         $this->deadlineNote $deadlineNote;
  338.         return $this;
  339.     }
  340.     public function getService(): ?string
  341.     {
  342.         return $this->service;
  343.     }
  344.     public function setService(?string $service): self
  345.     {
  346.         $this->service $service;
  347.         return $this;
  348.     }
  349.     public function getStatus(): ?string
  350.     {
  351.         return $this->status;
  352.     }
  353.     public function setStatus(string $status): self
  354.     {
  355.         $this->status $status;
  356.         return $this;
  357.     }
  358.     public function getType(): ?string
  359.     {
  360.         return $this->type;
  361.     }
  362.     public function setType(string $type): self
  363.     {
  364.         $this->type $type;
  365.         return $this;
  366.     }
  367.     public function getCustomerPrio(): ?string
  368.     {
  369.         return $this->customerPrio;
  370.     }
  371.     public function setCustomerPrio(string $customerPrio): self
  372.     {
  373.         $this->customerPrio $customerPrio;
  374.         return $this;
  375.     }
  376.     public function getPaidDate(): ?\DateTimeInterface
  377.     {
  378.         return $this->paidDate;
  379.     }
  380.     public function setPaidDate(?\DateTimeInterface $paidDate): self
  381.     {
  382.         $this->paidDate $paidDate;
  383.         return $this;
  384.     }
  385.     public function getCreatedDate(): ?\DateTimeInterface
  386.     {
  387.         return $this->createdDate;
  388.     }
  389.     public function setCreatedDate(\DateTimeInterface $createdDate): self
  390.     {
  391.         $this->createdDate $createdDate;
  392.         return $this;
  393.     }
  394.     public function getUpdatedDate(): ?\DateTimeInterface
  395.     {
  396.         return $this->updatedDate;
  397.     }
  398.     public function setUpdatedDate(\DateTimeInterface $updatedDate): self
  399.     {
  400.         $this->updatedDate $updatedDate;
  401.         return $this;
  402.     }
  403.     public function getDeadline(): ?\DateTimeInterface
  404.     {
  405.         return $this->deadline;
  406.     }
  407.     public function setDeadline(?\DateTimeInterface $deadline): self
  408.     {
  409.         $this->deadline $deadline;
  410.         return $this;
  411.     }
  412.     public function getLastNotifying(): ?\DateTimeInterface
  413.     {
  414.         return $this->lastNotifying;
  415.     }
  416.     public function setLastNotifying(\DateTimeInterface $lastNotifying): self
  417.     {
  418.         $this->lastNotifying $lastNotifying;
  419.         return $this;
  420.     }
  421.     public function getItems()
  422.     {
  423.         return $this->items;
  424.     }
  425.     public function getPayer()
  426.     {
  427.         return $this->payer;
  428.     }
  429.     public function getOwnerData()
  430.     {
  431.         return $this->ownerData;
  432.     }
  433.     public function getEmailsCount(): ?int
  434.     {
  435.         return $this->emailsCount;
  436.     }
  437.     public function setEmailsCount(int $emailsCount): self
  438.     {
  439.         $this->emailsCount $emailsCount;
  440.         return $this;
  441.     }
  442.     public function getPozycjonowanie(): ?bool
  443.     {
  444.         return $this->pozycjonowanie;
  445.     }
  446.     public function setPozycjonowanie(?bool $pozycjonowanie): self
  447.     {
  448.         $this->pozycjonowanie $pozycjonowanie;
  449.         return $this;
  450.     }
  451.     public function getGads(): ?bool
  452.     {
  453.         return $this->gads;
  454.     }
  455.     public function setGads(?bool $gads): self
  456.     {
  457.         $this->gads $gads;
  458.         return $this;
  459.     }
  460.     public function getFads(): ?bool
  461.     {
  462.         return $this->fads;
  463.     }
  464.     public function setFads(?bool $fads): self
  465.     {
  466.         $this->fads $fads;
  467.         return $this;
  468.     }
  469.     public function getOpinie(): ?bool
  470.     {
  471.         return $this->opinie;
  472.     }
  473.     public function setOpinie(?bool $opinie): self
  474.     {
  475.         $this->opinie $opinie;
  476.         return $this;
  477.     }
  478.     public function getReklama(): ?bool
  479.     {
  480.         return $this->reklama;
  481.     }
  482.     public function setReklama(?bool $reklama): self
  483.     {
  484.         $this->reklama $reklama;
  485.         return $this;
  486.     }
  487.     public function getDomena(): ?bool
  488.     {
  489.         return $this->domena;
  490.     }
  491.     public function setDomena(?bool $domena): self
  492.     {
  493.         $this->domena $domena;
  494.         return $this;
  495.     }
  496.     public function getHosting(): ?bool
  497.     {
  498.         return $this->hosting;
  499.     }
  500.     public function setHosting(?bool $hosting): self
  501.     {
  502.         $this->hosting $hosting;
  503.         return $this;
  504.     }
  505.     public function getSslt(): ?bool
  506.     {
  507.         return $this->sslt;
  508.     }
  509.     public function setSslt(?bool $sslt): self
  510.     {
  511.         $this->sslt $sslt;
  512.         return $this;
  513.     }
  514.     public function getRata(): ?bool
  515.     {
  516.         return $this->rata;
  517.     }
  518.     public function setRata(?bool $rata): self
  519.     {
  520.         $this->rata $rata;
  521.         return $this;
  522.     }
  523.     public function getPrototyp(): ?bool
  524.     {
  525.         return $this->prototyp;
  526.     }
  527.     public function setPrototyp(?bool $prototyp): self
  528.     {
  529.         $this->prototyp $prototyp;
  530.         return $this;
  531.     }
  532.     public function getGrafika(): ?bool
  533.     {
  534.         return $this->grafika;
  535.     }
  536.     public function setGrafika(?bool $grafika): self
  537.     {
  538.         $this->grafika $grafika;
  539.         return $this;
  540.     }
  541.     public function getProgramowanie(): ?bool
  542.     {
  543.         return $this->programowanie;
  544.     }
  545.     public function setProgramowanie(?bool $programowanie): self
  546.     {
  547.         $this->programowanie $programowanie;
  548.         return $this;
  549.     }
  550.     public function getAktualizacja(): ?bool
  551.     {
  552.         return $this->aktualizacja;
  553.     }
  554.     public function setAktualizacja(?bool $aktualizacja): self
  555.     {
  556.         $this->aktualizacja $aktualizacja;
  557.         return $this;
  558.     }
  559.     public function getOpieka(): ?bool
  560.     {
  561.         return $this->opieka;
  562.     }
  563.     public function setOpieka(?bool $opieka): self
  564.     {
  565.         $this->opieka $opieka;
  566.         return $this;
  567.     }
  568.     public function getArchiwizacja(): ?bool
  569.     {
  570.         return $this->archiwizacja;
  571.     }
  572.     public function setArchiwizacja(?bool $archiwizacja): self
  573.     {
  574.         $this->archiwizacja $archiwizacja;
  575.         return $this;
  576.     }
  577.     public function getLogo(): ?bool
  578.     {
  579.         return $this->logo;
  580.     }
  581.     public function setLogo(?bool $logo): self
  582.     {
  583.         $this->logo $logo;
  584.         return $this;
  585.     }
  586.     public function getIdentyfikacja(): ?bool
  587.     {
  588.         return $this->identyfikacja;
  589.     }
  590.     public function setIdentyfikacja(?bool $identyfikacja): self
  591.     {
  592.         $this->identyfikacja $identyfikacja;
  593.         return $this;
  594.     }
  595.     public function getPgraficzne(): ?bool
  596.     {
  597.         return $this->pgraficzne;
  598.     }
  599.     public function setPgraficzne(?bool $pgraficzne): self
  600.     {
  601.         $this->pgraficzne $pgraficzne;
  602.         return $this;
  603.     }
  604.     public function getInne(): ?bool
  605.     {
  606.         return $this->inne;
  607.     }
  608.     public function setInne(?bool $inne): self
  609.     {
  610.         $this->inne $inne;
  611.         return $this;
  612.     }
  613.     public function getSmsCount(): ?int
  614.     {
  615.         return $this->smsCount;
  616.     }
  617.     public function setSmsCount(int $smsCount): self
  618.     {
  619.         $this->smsCount $smsCount;
  620.         return $this;
  621.     }
  622.     public function setId(?int $id): self
  623.     {
  624.         $this->id $id;
  625.         return $this;
  626.     }
  627.     /**
  628.      * Get the value of zwiekszeniehostingu
  629.      */ 
  630.     public function getZwiekszeniehostingu()
  631.     {
  632.         return $this->zwiekszeniehostingu;
  633.     }
  634.     /**
  635.      * Set the value of zwiekszeniehostingu
  636.      *
  637.      * @return  self
  638.      */ 
  639.     public function setZwiekszeniehostingu($zwiekszeniehostingu)
  640.     {
  641.         $this->zwiekszeniehostingu $zwiekszeniehostingu;
  642.         return $this;
  643.     }
  644.     /**
  645.      * Get the value of comment
  646.      */ 
  647.     public function getComment()
  648.     {
  649.         return $this->comment;
  650.     }
  651.     /**
  652.      * Set the value of comment
  653.      *
  654.      * @return  self
  655.      */ 
  656.     public function setComment($comment)
  657.     {
  658.         $this->comment $comment;
  659.         return $this;
  660.     }
  661.     public function isOpiekaWizytowka(): ?bool
  662.     {
  663.         return $this->opiekaWizytowka;
  664.     }
  665.     public function setOpiekaWizytowka(?bool $opiekaWizytowka): self
  666.     {
  667.         $this->opiekaWizytowka $opiekaWizytowka;
  668.         return $this;
  669.     }
  670.     public function isPraceProgramistyczne(): ?bool
  671.     {
  672.         return $this->praceProgramistyczne;
  673.     }
  674.     public function setPraceProgramistyczne(?bool $praceProgramistyczne): self
  675.     {
  676.         $this->praceProgramistyczne $praceProgramistyczne;
  677.         return $this;
  678.     }
  679. }