src/Entity/Tickets.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Tickets
  6.  *
  7.  * @ORM\Table(name="tickets")
  8.  * @ORM\Entity(repositoryClass="App\Repository\TicketsRepository")
  9.  */
  10. class Tickets
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var int|null
  22.      *
  23.      * @ORM\Column(name="id_cashmag", type="integer", nullable=true)
  24.      */
  25.     private $idCashmag;
  26.     /**
  27.      * @var string|null
  28.      *
  29.      * @ORM\Column(name="comment", type="string", length=255, nullable=true)
  30.      */
  31.     private $comment;
  32.     /**
  33.      * @var \DateTime|null
  34.      *
  35.      * @ORM\Column(name="date", type="datetime", nullable=true)
  36.      */
  37.     private $date;
  38.     /**
  39.      * @var string|null
  40.      *
  41.      * @ORM\Column(name="r_note", type="string", length=255, nullable=true)
  42.      */
  43.     private $rNote;
  44.     /**
  45.      * @var string|null
  46.      *
  47.      * @ORM\Column(name="r_ticket", type="string", length=255, nullable=true)
  48.      */
  49.     private $rTicket;
  50.     /**
  51.      * @var string|null
  52.      *
  53.      * @ORM\Column(name="r_invoice", type="string", length=255, nullable=true)
  54.      */
  55.     private $rInvoice;
  56.     /**
  57.      * @var string|null
  58.      *
  59.      * @ORM\Column(name="payments", type="text", nullable=true, options={"comment"="payload list id detail du paiement ou table intermediaire"})
  60.      */
  61.     private $payments;
  62.     /**
  63.      * @var string|null
  64.      *
  65.      * @ORM\Column(name="details", type="text", nullable=true, options={"comment"="payload list id detail de la vente ou table intermediaire"})
  66.      */
  67.     private $details;
  68.     /**
  69.      * @var int|null
  70.      *
  71.      * @ORM\Column(name="id_taxes", type="integer", nullable=true)
  72.      */
  73.     private $idTaxes;
  74.     /**
  75.      * @var int|null
  76.      *
  77.      * @ORM\Column(name="id_attributes", type="integer", nullable=true)
  78.      */
  79.     private $idAttributes;
  80.     /**
  81.      * @var int|null
  82.      *
  83.      * @ORM\Column(name="id_point_of_sale", type="integer", nullable=true)
  84.      */
  85.     private $idPointOfSale;
  86.     /**
  87.      * @var int|null
  88.      *
  89.      * @ORM\Column(name="id_service", type="integer", nullable=true)
  90.      */
  91.     private $idService;
  92.     /**
  93.      * @var int|null
  94.      *
  95.      * @ORM\Column(name="id_sale_method", type="integer", nullable=true)
  96.      */
  97.     private $idSaleMethod;
  98.     /**
  99.      * @var int|null
  100.      *
  101.      * @ORM\Column(name="id_client", type="integer", nullable=true)
  102.      */
  103.     private $idClient;
  104.     /**
  105.      * @var int|null
  106.      *
  107.      * @ORM\Column(name="id_operator", type="integer", nullable=true)
  108.      */
  109.     private $idOperator;
  110.     /**
  111.      * @var int|null
  112.      *
  113.      * @ORM\Column(name="point_value", type="integer", nullable=true)
  114.      */
  115.     private $pointValue;
  116.     /**
  117.      * @var string|null
  118.      *
  119.      * @ORM\Column(name="picture_link", type="string", length=255, nullable=true)
  120.      */
  121.     private $pictureLink;
  122.     /**
  123.      * @var string|null
  124.      *
  125.      * @ORM\Column(name="picture_base64", type="blob", length=0, nullable=true)
  126.      */
  127.     private $pictureBase64;
  128.     /**
  129.      * @var string|null
  130.      *
  131.      * @ORM\Column(name="short_signature", type="string", length=255, nullable=true)
  132.      */
  133.     private $shortSignature;
  134.     /**
  135.      * @var int|null
  136.      *
  137.      * @ORM\Column(name="id_order",  type="string", length=255, nullable=true)
  138.      */
  139.     private $idOrder;
  140.     /**
  141.      * @var string|null
  142.      *
  143.      * @ORM\Column(name="reversal", type="string", length=255, nullable=true)
  144.      */
  145.     private $reversal;
  146.     /**
  147.      * @var string|null
  148.      *
  149.      * @ORM\Column(name="reverse", type="string", length=255, nullable=true)
  150.      */
  151.     private $reverse;
  152.     /**
  153.      * @var string|null
  154.      *
  155.      * @ORM\Column(name="total_ca", type="decimal", precision=20, scale=2, nullable=true)
  156.      */
  157.     private $totalCa;
  158.     /**
  159.      * @var string|null
  160.      *
  161.      * @ORM\Column(name="total_ht", type="decimal", precision=20, scale=2, nullable=true)
  162.      */
  163.     private $totalHt;
  164.     /**
  165.      * @var string|null
  166.      *
  167.      * @ORM\Column(name="total_ttc", type="decimal", precision=20, scale=2, nullable=true)
  168.      */
  169.     private $totalTtc;
  170.     /**
  171.      * @var string|null
  172.      *
  173.      * @ORM\Column(name="n_lines", type="string", length=255, nullable=true)
  174.      */
  175.     private $nLines;
  176.     /**
  177.      * @var string|null
  178.      *
  179.      * @ORM\Column(name="type_document", type="string", length=255, nullable=true)
  180.      */
  181.     private $typeDocument;
  182.     /**
  183.      * @var string|null
  184.      *
  185.      * @ORM\Column(name="type_operation", type="string", length=255, nullable=true)
  186.      */
  187.     private $typeOperation;
  188.     /**
  189.      * @var string|null
  190.      *
  191.      * @ORM\Column(name="software_version", type="string", length=255, nullable=true)
  192.      */
  193.     private $softwareVersion;
  194.     /**
  195.      * @var string|null
  196.      *
  197.      * @ORM\Column(name="n_table", type="string", length=255, nullable=true)
  198.      */
  199.     private $nTable;
  200.     /**
  201.      * @var string|null
  202.      *
  203.      * @ORM\Column(name="n_people", type="string", length=255, nullable=true)
  204.      */
  205.     private $nPeople;
  206.     /**
  207.      * @var string|null
  208.      *
  209.      * @ORM\Column(name="n_invoice", type="string", length=255, nullable=true)
  210.      */
  211.     private $nInvoice;
  212.     /**
  213.      * @var string|null
  214.      *
  215.      * @ORM\Column(name="n_ticket", type="string", length=255, nullable=true)
  216.      */
  217.     private $nTicket;
  218.     /**
  219.      * @var string|null
  220.      *
  221.      * @ORM\Column(name="n_note", type="string", length=255, nullable=true)
  222.      */
  223.     private $nNote;
  224.     /**
  225.      * @ORM\Column(type="text", nullable=true)
  226.      */
  227.     private $operatorData;
  228.     /**
  229.      * @ORM\Column(type="text")
  230.      */
  231.     private $clientData;
  232.     /**
  233.      * @ORM\Column(type="text")
  234.      */
  235.     private $saleMethodeData;
  236.     /**
  237.      * @ORM\Column(type="text")
  238.      */
  239.     private $serviceData;
  240.     /**
  241.      * @ORM\Column(type="text")
  242.      */
  243.     private $attributesData;
  244.     /**
  245.      * @ORM\Column(type="text")
  246.      */
  247.     private $taxesData;
  248.     /**
  249.      * @ORM\Column(type="text", nullable=true)
  250.      */
  251.     private $deviceData;
  252.     /**
  253.      * @ORM\Column(type="smallint", nullable=true)
  254.      */
  255.     private $codeDevice;
  256.     /**
  257.      * @ORM\Column(type="integer", nullable=true)
  258.      */
  259.     private $creditAmount;
  260.     /**
  261.      * @ORM\Column(type="string", length=255, nullable=true)
  262.      */
  263.     private $reference;
  264.     /**
  265.      * @ORM\Column(type="string", length=255, nullable=true)
  266.      */
  267.     private $url;
  268.     /**
  269.      * @ORM\Column(type="string", length=255, nullable=true)
  270.      */
  271.     private $date_text;
  272.     /**
  273.      * @ORM\Column(type="string", length=255, nullable=true)
  274.      */
  275.     private $currencyCode;
  276.     public function getId(): ?int
  277.     {
  278.         return $this->id;
  279.     }
  280.     public function getIdCashmag(): ?int
  281.     {
  282.         return $this->idCashmag;
  283.     }
  284.     public function setIdCashmag(?int $idCashmag): self
  285.     {
  286.         $this->idCashmag $idCashmag;
  287.         return $this;
  288.     }
  289.     public function getComment(): ?string
  290.     {
  291.         return $this->comment;
  292.     }
  293.     public function setComment(?string $comment): self
  294.     {
  295.         $this->comment $comment;
  296.         return $this;
  297.     }
  298.     public function getDate(): ?\DateTimeInterface
  299.     {
  300.         return $this->date;
  301.     }
  302.     public function setDate(?\DateTimeInterface $date): self
  303.     {
  304.         $this->date $date;
  305.         return $this;
  306.     }
  307.     public function getRNote(): ?string
  308.     {
  309.         return $this->rNote;
  310.     }
  311.     public function setRNote(?string $rNote): self
  312.     {
  313.         $this->rNote $rNote;
  314.         return $this;
  315.     }
  316.     public function getRTicket(): ?string
  317.     {
  318.         return $this->rTicket;
  319.     }
  320.     public function setRTicket(?string $rTicket): self
  321.     {
  322.         $this->rTicket $rTicket;
  323.         return $this;
  324.     }
  325.     public function getRInvoice(): ?string
  326.     {
  327.         return $this->rInvoice;
  328.     }
  329.     public function setRInvoice(?string $rInvoice): self
  330.     {
  331.         $this->rInvoice $rInvoice;
  332.         return $this;
  333.     }
  334.     public function getPayments(): ?string
  335.     {
  336.         return $this->payments;
  337.     }
  338.     public function setPayments(?string $payments): self
  339.     {
  340.         $this->payments $payments;
  341.         return $this;
  342.     }
  343.     public function getDetails(): ?string
  344.     {
  345.         return $this->details;
  346.     }
  347.     public function setDetails(?string $details): self
  348.     {
  349.         $this->details $details;
  350.         return $this;
  351.     }
  352.     public function getIdTaxes(): ?int
  353.     {
  354.         return $this->idTaxes;
  355.     }
  356.     public function setIdTaxes(?int $idTaxes): self
  357.     {
  358.         $this->idTaxes $idTaxes;
  359.         return $this;
  360.     }
  361.     public function getIdAttributes(): ?int
  362.     {
  363.         return $this->idAttributes;
  364.     }
  365.     public function setIdAttributes(?int $idAttributes): self
  366.     {
  367.         $this->idAttributes $idAttributes;
  368.         return $this;
  369.     }
  370.     public function getIdPointOfSale(): ?int
  371.     {
  372.         return $this->idPointOfSale;
  373.     }
  374.     public function setIdPointOfSale(?int $idPointOfSale): self
  375.     {
  376.         $this->idPointOfSale $idPointOfSale;
  377.         return $this;
  378.     }
  379.     public function getIdService(): ?int
  380.     {
  381.         return $this->idService;
  382.     }
  383.     public function setIdService(?int $idService): self
  384.     {
  385.         $this->idService $idService;
  386.         return $this;
  387.     }
  388.     public function getIdSaleMethod(): ?int
  389.     {
  390.         return $this->idSaleMethod;
  391.     }
  392.     public function setIdSaleMethod(?int $idSaleMethod): self
  393.     {
  394.         $this->idSaleMethod $idSaleMethod;
  395.         return $this;
  396.     }
  397.     public function getIdClient(): ?int
  398.     {
  399.         return $this->idClient;
  400.     }
  401.     public function setIdClient(?int $idClient): self
  402.     {
  403.         $this->idClient $idClient;
  404.         return $this;
  405.     }
  406.     public function getIdOperator(): ?int
  407.     {
  408.         return $this->idOperator;
  409.     }
  410.     public function setIdOperator(?int $idOperator): self
  411.     {
  412.         $this->idOperator $idOperator;
  413.         return $this;
  414.     }
  415.     public function getPointValue(): ?int
  416.     {
  417.         return $this->pointValue;
  418.     }
  419.     public function setPointValue(?int $pointValue): self
  420.     {
  421.         $this->pointValue $pointValue;
  422.         return $this;
  423.     }
  424.     public function getPictureLink(): ?string
  425.     {
  426.         return $this->pictureLink;
  427.     }
  428.     public function setPictureLink(?string $pictureLink): self
  429.     {
  430.         $this->pictureLink $pictureLink;
  431.         return $this;
  432.     }
  433.     public function getPictureBase64()
  434.     {
  435.         return $this->pictureBase64;
  436.     }
  437.     public function setPictureBase64($pictureBase64): self
  438.     {
  439.         $this->pictureBase64 $pictureBase64;
  440.         return $this;
  441.     }
  442.     public function getShortSignature(): ?string
  443.     {
  444.         return $this->shortSignature;
  445.     }
  446.     public function setShortSignature(?string $shortSignature): self
  447.     {
  448.         $this->shortSignature $shortSignature;
  449.         return $this;
  450.     }
  451.     public function getIdOrder(): ?string
  452.     {
  453.         return $this->idOrder;
  454.     }
  455.     public function setIdOrder(?string $idOrder): self
  456.     {
  457.         $this->idOrder $idOrder;
  458.         return $this;
  459.     }
  460.     public function getReversal(): ?string
  461.     {
  462.         return $this->reversal;
  463.     }
  464.     public function setReversal(?string $reversal): self
  465.     {
  466.         $this->reversal $reversal;
  467.         return $this;
  468.     }
  469.     public function getReverse(): ?string
  470.     {
  471.         return $this->reverse;
  472.     }
  473.     public function setReverse(?string $reverse): self
  474.     {
  475.         $this->reverse $reverse;
  476.         return $this;
  477.     }
  478.     public function getTotalCa(): ?string
  479.     {
  480.         return $this->totalCa;
  481.     }
  482.     public function setTotalCa(?string $totalCa): self
  483.     {
  484.         $this->totalCa $totalCa;
  485.         return $this;
  486.     }
  487.     public function getTotalHt(): ?string
  488.     {
  489.         return $this->totalHt;
  490.     }
  491.     public function setTotalHt(?string $totalHt): self
  492.     {
  493.         $this->totalHt $totalHt;
  494.         return $this;
  495.     }
  496.     public function getTotalTtc(): ?string
  497.     {
  498.         return $this->totalTtc;
  499.     }
  500.     public function setTotalTtc(?string $totalTtc): self
  501.     {
  502.         $this->totalTtc $totalTtc;
  503.         return $this;
  504.     }
  505.     public function getNLines(): ?string
  506.     {
  507.         return $this->nLines;
  508.     }
  509.     public function setNLines(?string $nLines): self
  510.     {
  511.         $this->nLines $nLines;
  512.         return $this;
  513.     }
  514.     public function getTypeDocument(): ?string
  515.     {
  516.         return $this->typeDocument;
  517.     }
  518.     public function setTypeDocument(?string $typeDocument): self
  519.     {
  520.         $this->typeDocument $typeDocument;
  521.         return $this;
  522.     }
  523.     public function getTypeOperation(): ?string
  524.     {
  525.         return $this->typeOperation;
  526.     }
  527.     public function setTypeOperation(?string $typeOperation): self
  528.     {
  529.         $this->typeOperation $typeOperation;
  530.         return $this;
  531.     }
  532.     public function getSoftwareVersion(): ?string
  533.     {
  534.         return $this->softwareVersion;
  535.     }
  536.     public function setSoftwareVersion(?string $softwareVersion): self
  537.     {
  538.         $this->softwareVersion $softwareVersion;
  539.         return $this;
  540.     }
  541.     public function getNTable(): ?string
  542.     {
  543.         return $this->nTable;
  544.     }
  545.     public function setNTable(?string $nTable): self
  546.     {
  547.         $this->nTable $nTable;
  548.         return $this;
  549.     }
  550.     public function getNPeople(): ?string
  551.     {
  552.         return $this->nPeople;
  553.     }
  554.     public function setNPeople(?string $nPeople): self
  555.     {
  556.         $this->nPeople $nPeople;
  557.         return $this;
  558.     }
  559.     public function getNInvoice(): ?string
  560.     {
  561.         return $this->nInvoice;
  562.     }
  563.     public function setNInvoice(?string $nInvoice): self
  564.     {
  565.         $this->nInvoice $nInvoice;
  566.         return $this;
  567.     }
  568.     public function getNTicket(): ?string
  569.     {
  570.         return $this->nTicket;
  571.     }
  572.     public function setNTicket(?string $nTicket): self
  573.     {
  574.         $this->nTicket $nTicket;
  575.         return $this;
  576.     }
  577.     public function getNNote(): ?string
  578.     {
  579.         return $this->nNote;
  580.     }
  581.     public function setNNote(?string $nNote): self
  582.     {
  583.         $this->nNote $nNote;
  584.         return $this;
  585.     }
  586.     public function getOperatorData(): ?string
  587.     {
  588.         return $this->operatorData;
  589.     }
  590.     public function setOperatorData(?string $operatorData): self
  591.     {
  592.         $this->operatorData $operatorData;
  593.         return $this;
  594.     }
  595.     public function getClientData(): ?string
  596.     {
  597.         return $this->clientData;
  598.     }
  599.     public function setClientData(string $clientData): self
  600.     {
  601.         $this->clientData $clientData;
  602.         return $this;
  603.     }
  604.     public function getSaleMethodeData(): ?string
  605.     {
  606.         return $this->saleMethodeData;
  607.     }
  608.     public function setSaleMethodeData(string $saleMethodeData): self
  609.     {
  610.         $this->saleMethodeData $saleMethodeData;
  611.         return $this;
  612.     }
  613.     public function getServiceData(): ?string
  614.     {
  615.         return $this->serviceData;
  616.     }
  617.     public function setServiceData(string $serviceData): self
  618.     {
  619.         $this->serviceData $serviceData;
  620.         return $this;
  621.     }
  622.     public function getAttributesData(): ?string
  623.     {
  624.         return $this->attributesData;
  625.     }
  626.     public function setAttributesData(string $attributesData): self
  627.     {
  628.         $this->attributesData $attributesData;
  629.         return $this;
  630.     }
  631.     public function getTaxesData(): ?string
  632.     {
  633.         return $this->taxesData;
  634.     }
  635.     public function setTaxesData(string $taxesData): self
  636.     {
  637.         $this->taxesData $taxesData;
  638.         return $this;
  639.     }
  640.     public function getDeviceData(): ?string
  641.     {
  642.         return $this->deviceData;
  643.     }
  644.     public function setDeviceData(?string $deviceData): self
  645.     {
  646.         $this->deviceData $deviceData;
  647.         return $this;
  648.     }
  649.     public function getCodeDevice(): ?int
  650.     {
  651.         return $this->codeDevice;
  652.     }
  653.     public function setCodeDevice(?int $codeDevice): self
  654.     {
  655.         $this->codeDevice $codeDevice;
  656.         return $this;
  657.     }
  658.     public function getCreditAmount(): ?int
  659.     {
  660.         return $this->creditAmount;
  661.     }
  662.     public function setCreditAmount(?int $creditAmount): self
  663.     {
  664.         $this->creditAmount $creditAmount;
  665.         return $this;
  666.     }
  667.     public function getReference(): ?string
  668.     {
  669.         return $this->reference;
  670.     }
  671.     public function setReference(?string $reference): self
  672.     {
  673.         $this->reference $reference;
  674.         return $this;
  675.     }
  676.     public function getUrl(): ?string
  677.     {
  678.         return $this->url;
  679.     }
  680.     public function setUrl(?string $url): self
  681.     {
  682.         $this->url $url;
  683.         return $this;
  684.     }
  685.     public function getDateText(): ?string
  686.     {
  687.         return $this->date_text;
  688.     }
  689.     public function setDateText(?string $date_text): self
  690.     {
  691.         $this->date_text $date_text;
  692.         return $this;
  693.     }
  694.     public function getCurrencyCode(): ?string
  695.     {
  696.         return $this->currencyCode;
  697.     }
  698.     public function setCurrencyCode(?string $currencyCode): self
  699.     {
  700.         $this->currencyCode $currencyCode;
  701.         return $this;
  702.     }
  703. }