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

Open in your IDE?
  1. <?php
  2. namespace App\MDS\AvexpressBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * AveDocInvoice
  6.  *
  7.  * @ORM\Table(name="ave_doc_invoice")
  8.  * @ORM\Entity(repositoryClass="App\MDS\AvexpressBundle\Repository\AveDocInvoiceRepository")
  9.  */
  10. class AveDocInvoice
  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 \DateTime
  28.      *
  29.      * @ORM\Column(name="dateAt", type="datetime")
  30.      */
  31.     private $dateAt;
  32.     /**
  33.      * @var string
  34.      *
  35.      * @ORM\Column(name="name", type="string", length=255, nullable=true)
  36.      */
  37.     private $name;
  38.     /**
  39.      * @var string
  40.      *
  41.      * @ORM\Column(name="totalNet", type="string", length=255)
  42.      */
  43.     private $totalNet;
  44.     /**
  45.      * @var string
  46.      *
  47.      * @ORM\Column(name="iva", type="string", length=255, nullable=true)
  48.      */
  49.     private $iva;
  50.     /**
  51.      * @var string
  52.      *
  53.      * @ORM\Column(name="vat", type="string", length=255)
  54.      */
  55.     private $vat;
  56.     /**
  57.      * @var string
  58.      *
  59.      * @ORM\Column(name="total", type="string", length=255)
  60.      */
  61.     private $total;
  62.     /**
  63.      * @var string
  64.      *
  65.      * @ORM\Column(name="master", type="string", length=255, nullable=true)
  66.      */
  67.     private $master = 'master';
  68.     /**
  69.      * @var string
  70.      *
  71.      * @ORM\Column(name="number", type="string", length=255, nullable=true)
  72.      */
  73.     private $number;
  74.     /**
  75.      * @var string
  76.      *
  77.      * @ORM\Column(name="prefix", type="string", length=255, nullable=true)
  78.      */
  79.     private $prefix;
  80.     /**
  81.      * @var string
  82.      *
  83.      * @ORM\Column(name="type", type="string", length=255)
  84.      */
  85.     private $type;
  86.     /**
  87.      * @var string
  88.      *
  89.      * @ORM\Column(name="balance", type="string", length=255, nullable=true)
  90.      */
  91.     private $balance;
  92.     /**
  93.      * @var \DateTime
  94.      *
  95.      * @ORM\Column(name="created_at", type="datetime")
  96.      */
  97.     private $createdAt;
  98.     /**
  99.      * @var int
  100.      *
  101.      * @ORM\Column(name="created_id", type="integer")
  102.      */
  103.     private $createdId;
  104.     /**
  105.      * @var \DateTime
  106.      *
  107.      * @ORM\Column(name="updated_at", type="datetime")
  108.      */
  109.     private $updatedAt;
  110.     /**
  111.      * @var int
  112.      *
  113.      * @ORM\Column(name="updated_id", type="integer")
  114.      */
  115.     private $updatedId;
  116.     /**
  117.      * @var string
  118.      *
  119.      * @ORM\Column(name="access_key", type="string", length=255, nullable=true)
  120.      */
  121.     private $accessKey;
  122.     /**
  123.      * @ORM\OneToOne(targetEntity="App\Entity\DeliveryNote", mappedBy="aveDocInvoice")
  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.      * @ORM\Column(type="float", nullable=true)
  144.      */
  145.     private $benefit;
  146.     /**
  147.      * Get id
  148.      *
  149.      * @return int
  150.      */
  151.     public function getId()
  152.     {
  153.         return $this->id;
  154.     }
  155.     /**
  156.      * Set fileId
  157.      *
  158.      * @param integer $fileId
  159.      *
  160.      * @return AveDocInvoice
  161.      */
  162.     public function setFileId($fileId)
  163.     {
  164.         $this->fileId = $fileId;
  165.         return $this;
  166.     }
  167.     /**
  168.      * Get fileId
  169.      *
  170.      * @return integer
  171.      */
  172.     public function getFileId()
  173.     {
  174.         return $this->fileId;
  175.     }
  176.     /**
  177.      * Set dateAt
  178.      *
  179.      * @param \DateTime $dateAt
  180.      *
  181.      * @return AveDocInvoice
  182.      */
  183.     public function setDateAt($dateAt)
  184.     {
  185.         $this->dateAt = $dateAt;
  186.         return $this;
  187.     }
  188.     /**
  189.      * Get dateAt
  190.      *
  191.      * @return \DateTime
  192.      */
  193.     public function getDateAt()
  194.     {
  195.         return $this->dateAt;
  196.     }
  197.     /**
  198.      * Set name
  199.      *
  200.      * @param string $name
  201.      *
  202.      * @return AveDocInvoice
  203.      */
  204.     public function setName($name)
  205.     {
  206.         $this->name = $name;
  207.         return $this;
  208.     }
  209.     /**
  210.      * Get name
  211.      *
  212.      * @return string
  213.      */
  214.     public function getName()
  215.     {
  216.         return $this->name;
  217.     }
  218.     /**
  219.      * Set totalNet
  220.      *
  221.      * @param string $totalNet
  222.      *
  223.      * @return AveDocInvoice
  224.      */
  225.     public function setTotalNet($totalNet)
  226.     {
  227.         $this->totalNet = $totalNet;
  228.         return $this;
  229.     }
  230.     /**
  231.      * Get totalNet
  232.      *
  233.      * @return string
  234.      */
  235.     public function getTotalNet()
  236.     {
  237.         return $this->totalNet;
  238.     }
  239.     /**
  240.      * Set iva
  241.      *
  242.      * @param string $iva
  243.      *
  244.      * @return AveDocInvoice
  245.      */
  246.     public function setIva($iva)
  247.     {
  248.         $this->iva = $iva;
  249.         return $this;
  250.     }
  251.     /**
  252.      * Get iva
  253.      *
  254.      * @return string
  255.      */
  256.     public function getIva()
  257.     {
  258.         return $this->iva;
  259.     }
  260.     /**
  261.      * Set vat
  262.      *
  263.      * @param string $vat
  264.      *
  265.      * @return AveDocInvoice
  266.      */
  267.     public function setVat($vat)
  268.     {
  269.         $this->vat = $vat;
  270.         return $this;
  271.     }
  272.     /**
  273.      * Get vat
  274.      *
  275.      * @return string
  276.      */
  277.     public function getVat()
  278.     {
  279.         return $this->vat;
  280.     }
  281.     /**
  282.      * Set total
  283.      *
  284.      * @param string $total
  285.      *
  286.      * @return AveDocInvoice
  287.      */
  288.     public function setTotal($total)
  289.     {
  290.         $this->total = $total;
  291.         return $this;
  292.     }
  293.     /**
  294.      * Get total
  295.      *
  296.      * @return string
  297.      */
  298.     public function getTotal()
  299.     {
  300.         return $this->total;
  301.     }
  302.     /**
  303.      * Set master
  304.      *
  305.      * @param string $master
  306.      *
  307.      * @return AveDocInvoice
  308.      */
  309.     public function setMaster($master)
  310.     {
  311.         $this->master = $master;
  312.         return $this;
  313.     }
  314.     /**
  315.      * Get master
  316.      *
  317.      * @return string
  318.      */
  319.     public function getMaster()
  320.     {
  321.         return $this->master;
  322.     }
  323.     /**
  324.      * Set number
  325.      *
  326.      * @param string $number
  327.      *
  328.      * @return AveDocInvoice
  329.      */
  330.     public function setNumber($number)
  331.     {
  332.         $this->number = $number;
  333.         return $this;
  334.     }
  335.     /**
  336.      * Get number
  337.      *
  338.      * @return string
  339.      */
  340.     public function getNumber()
  341.     {
  342.         return $this->number;
  343.     }
  344.     /**
  345.      * Set prefix
  346.      *
  347.      * @param string $prefix
  348.      *
  349.      * @return AveDocInvoice
  350.      */
  351.     public function setPrefix($prefix)
  352.     {
  353.         $this->prefix = $prefix;
  354.         return $this;
  355.     }
  356.     /**
  357.      * Get prefix
  358.      *
  359.      * @return string
  360.      */
  361.     public function getPrefix()
  362.     {
  363.         return $this->prefix;
  364.     }
  365.     /**
  366.      * Set type
  367.      *
  368.      * @param string $type
  369.      *
  370.      * @return AveDocInvoice
  371.      */
  372.     public function setType($type)
  373.     {
  374.         $this->type = $type;
  375.         return $this;
  376.     }
  377.     /**
  378.      * Get type
  379.      *
  380.      * @return string
  381.      */
  382.     public function getType()
  383.     {
  384.         return $this->type;
  385.     }
  386.     /**
  387.      * Set balance
  388.      *
  389.      * @param string $balance
  390.      *
  391.      * @return AveDocInvoice
  392.      */
  393.     public function setBalance($balance)
  394.     {
  395.         $this->balance = $balance;
  396.         return $this;
  397.     }
  398.     /**
  399.      * Get balance
  400.      *
  401.      * @return string
  402.      */
  403.     public function getBalance()
  404.     {
  405.         return $this->balance;
  406.     }
  407.     /**
  408.      * Set createdAt
  409.      *
  410.      * @param \DateTime $createdAt
  411.      *
  412.      * @return AveDocInvoice
  413.      */
  414.     public function setCreatedAt($createdAt)
  415.     {
  416.         $this->createdAt = $createdAt;
  417.         return $this;
  418.     }
  419.     /**
  420.      * Get createdAt
  421.      *
  422.      * @return \DateTime
  423.      */
  424.     public function getCreatedAt()
  425.     {
  426.         return $this->createdAt;
  427.     }
  428.     /**
  429.      * Set createdId
  430.      *
  431.      * @param integer $createdId
  432.      *
  433.      * @return AveDocInvoice
  434.      */
  435.     public function setCreatedId($createdId)
  436.     {
  437.         $this->createdId = $createdId;
  438.         return $this;
  439.     }
  440.     /**
  441.      * Get createdId
  442.      *
  443.      * @return integer
  444.      */
  445.     public function getCreatedId()
  446.     {
  447.         return $this->createdId;
  448.     }
  449.     /**
  450.      * Set updatedAt
  451.      *
  452.      * @param \DateTime $updatedAt
  453.      *
  454.      * @return AveDocInvoice
  455.      */
  456.     public function setUpdatedAt($updatedAt)
  457.     {
  458.         $this->updatedAt = $updatedAt;
  459.         return $this;
  460.     }
  461.     /**
  462.      * Get updatedAt
  463.      *
  464.      * @return \DateTime
  465.      */
  466.     public function getUpdatedAt()
  467.     {
  468.         return $this->updatedAt;
  469.     }
  470.     /**
  471.      * Set updatedId
  472.      *
  473.      * @param integer $updatedId
  474.      *
  475.      * @return AveDocInvoice
  476.      */
  477.     public function setUpdatedId($updatedId)
  478.     {
  479.         $this->updatedId = $updatedId;
  480.         return $this;
  481.     }
  482.     /**
  483.      * Get updatedId
  484.      *
  485.      * @return integer
  486.      */
  487.     public function getUpdatedId()
  488.     {
  489.         return $this->updatedId;
  490.     }
  491.     /**
  492.      * Set accessKey
  493.      *
  494.      * @param string $accessKey
  495.      *
  496.      * @return AveDocInvoice
  497.      */
  498.     public function setAccessKey($accessKey)
  499.     {
  500.         $this->accessKey = $accessKey;
  501.         return $this;
  502.     }
  503.     /**
  504.      * Get accessKey
  505.      *
  506.      * @return string
  507.      */
  508.     public function getAccessKey()
  509.     {
  510.         return $this->accessKey;
  511.     }
  512.     public function getDeliveryNote(): ?\App\Entity\DeliveryNote
  513.     {
  514.         return $this->deliveryNote;
  515.     }
  516.     public function setDeliveryNote(?\App\Entity\DeliveryNote $deliveryNote): self
  517.     {
  518.         $this->deliveryNote = $deliveryNote;
  519.         return $this;
  520.     }
  521.     public function getClientName(): ?string
  522.     {
  523.         return $this->clientName;
  524.     }
  525.     public function setClientName(string $clientName): self
  526.     {
  527.         $this->clientName = $clientName;
  528.         return $this;
  529.     }
  530.     public function getClientAddress(): ?string
  531.     {
  532.         return $this->clientAddress;
  533.     }
  534.     public function setClientAddress(string $clientAddress): self
  535.     {
  536.         $this->clientAddress = $clientAddress;
  537.         return $this;
  538.     }
  539.     public function getClientDocument(): ?string
  540.     {
  541.         return $this->clientDocument;
  542.     }
  543.     public function setClientDocument(string $clientDocument): self
  544.     {
  545.         $this->clientDocument = $clientDocument;
  546.         return $this;
  547.     }
  548.     public function getClientType(): ?string
  549.     {
  550.         return $this->clientType;
  551.     }
  552.     public function setClientType(string $clientType): self
  553.     {
  554.         $this->clientType = $clientType;
  555.         return $this;
  556.     }
  557.     public function getBenefit(): ?float
  558.     {
  559.         return $this->benefit;
  560.     }
  561.     public function setBenefit(float $benefit): self
  562.     {
  563.         $this->benefit = $benefit;
  564.         return $this;
  565.     }
  566. }