src/Entity/Onsite/UserOrders.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Onsite;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\Onsite\UserOrdersRepository")
  6.  *
  7.  * @ORM\Table(name="otp_onsite.userOrders", indexes={@ORM\Index(name="done", columns={"done"}), @ORM\Index(name="date", columns={"date"}), @ORM\Index(name="user_id", columns={"user_id"})})
  8.  */
  9. class UserOrders
  10. {
  11.     /**
  12.      * @var int
  13.      *
  14.      * @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned"=true})
  15.      * @ORM\Id
  16.      * @ORM\GeneratedValue(strategy="IDENTITY")
  17.      */
  18.     private $id;
  19.     /**
  20.      * @var int
  21.      *
  22.      * @ORM\Column(name="user_id", type="integer", nullable=false, options={"unsigned"=true})
  23.      */
  24.     private $userId;
  25.     /**
  26.      * @var \DateTime|null
  27.      *
  28.      * @ORM\Column(name="date", type="datetime", nullable=true)
  29.      */
  30.     private $update;
  31.     /**
  32.      * @var string
  33.      *
  34.      * @ORM\Column(name="type", type="string", length=0, nullable=false, options={"default"="tours"})
  35.      */
  36.     private $type 'tours';
  37.     /**
  38.      * @var string
  39.      *
  40.      * @ORM\Column(name="source", type="string", length=500, nullable=false, options={"comment"="ссылка на источник"})
  41.      */
  42.     private $source;
  43.     /**
  44.      * @var string
  45.      *
  46.      * @ORM\Column(name="fIP", type="string", length=60, nullable=false)
  47.      */
  48.     private $ip '0';
  49.     /**
  50.      * @var string
  51.      *
  52.      * @ORM\Column(name="fVariantID", type="string", length=25, nullable=false, options={"comment"="номер цены"})
  53.      */
  54.     private $variantid;
  55.     /**
  56.      * @var int|null
  57.      *
  58.      * @ORM\Column(name="fTourID", type="integer", nullable=true, options={"unsigned"=true})
  59.      */
  60.     private $tourid;
  61.     /**
  62.      * @var int|null
  63.      *
  64.      * @ORM\Column(name="fOperatorID", type="smallint", nullable=true, options={"unsigned"=true})
  65.      */
  66.     private $operatorid;
  67.     /**
  68.      * @var int|null
  69.      *
  70.      * @ORM\Column(name="fDirectionID", type="smallint", nullable=true, options={"unsigned"=true})
  71.      */
  72.     private $directionid;
  73.     /**
  74.      * @var int|null
  75.      *
  76.      * @ORM\Column(name="fHotelID", type="integer", nullable=true, options={"unsigned"=true})
  77.      */
  78.     private $hotelid;
  79.     /**
  80.      * @var int
  81.      *
  82.      * @ORM\Column(name="fDestID", type="integer", nullable=false, options={"comment"="ID курорта или страны"})
  83.      */
  84.     private $destid;
  85.     /**
  86.      * @var int|null
  87.      *
  88.      * @ORM\Column(name="fOfficeID", type="integer", nullable=true, options={"unsigned"=true})
  89.      */
  90.     private $officeid;
  91.     /**
  92.      * @var \DateTime|null
  93.      *
  94.      * @ORM\Column(name="fDate", type="date", nullable=true)
  95.      */
  96.     private $date;
  97.     /**
  98.      * @var int|null
  99.      *
  100.      * @ORM\Column(name="fLength", type="smallint", nullable=true)
  101.      */
  102.     private $length;
  103.     /**
  104.      * @var string|null
  105.      *
  106.      * @ORM\Column(name="fAcmd", type="string", length=20, nullable=true)
  107.      */
  108.     private $acmd;
  109.     /**
  110.      * @var string|null
  111.      *
  112.      * @ORM\Column(name="fChildAges", type="string", length=16, nullable=true, options={"comment"="возраст детей, через зяпятую"})
  113.      */
  114.     private $childages;
  115.     /**
  116.      * @var string|null
  117.      *
  118.      * @ORM\Column(name="fTransport", type="string", length=10, nullable=true)
  119.      */
  120.     private $transport;
  121.     /**
  122.      * @var string|null
  123.      *
  124.      * @ORM\Column(name="fFood", type="string", length=10, nullable=true)
  125.      */
  126.     private $food;
  127.     /**
  128.      * @var int|null
  129.      *
  130.      * @ORM\Column(name="fRoom", type="integer", nullable=true, options={"unsigned"=true})
  131.      */
  132.     private $room;
  133.     /**
  134.      * @var int|null
  135.      *
  136.      * @ORM\Column(name="fRoomID", type="integer", nullable=true, options={"unsigned"=true})
  137.      */
  138.     private $roomid;
  139.     /**
  140.      * @var string|null
  141.      *
  142.      * @ORM\Column(name="fPrice", type="string", length=16, nullable=true)
  143.      */
  144.     private $price;
  145.     /**
  146.      * @var string|null
  147.      *
  148.      * @ORM\Column(name="fPriceShare", type="string", length=16, nullable=true)
  149.      */
  150.     private $priceshare;
  151.     /**
  152.      * @var string|null
  153.      *
  154.      * @ORM\Column(name="fCurrency", type="string", length=4, nullable=true)
  155.      */
  156.     private $currency;
  157.     /**
  158.      * @var float
  159.      *
  160.      * @ORM\Column(name="client_price", type="float", precision=8, scale=5, nullable=false)
  161.      */
  162.     private $clientPrice;
  163.     /**
  164.      * @var string
  165.      *
  166.      * @ORM\Column(name="client_name", type="string", length=100, nullable=false)
  167.      */
  168.     private $clientName;
  169.     /**
  170.      * @var string
  171.      *
  172.      * @ORM\Column(name="client_mail", type="string", length=64, nullable=false)
  173.      */
  174.     private $clientMail;
  175.     /**
  176.      * @var string
  177.      *
  178.      * @ORM\Column(name="client_tel", type="string", length=64, nullable=false)
  179.      */
  180.     private $clientTel;
  181.     /**
  182.      * @var string
  183.      *
  184.      * @ORM\Column(name="client_comm", type="text", length=65535, nullable=false)
  185.      */
  186.     private $clientComm;
  187.     /**
  188.      * @var string
  189.      *
  190.      * @ORM\Column(name="agent_comm", type="text", length=255, nullable=false)
  191.      */
  192.     private $agentComm;
  193.     /**
  194.      * @var int
  195.      *
  196.      * @ORM\Column(name="processed", type="integer", nullable=false)
  197.      */
  198.     private $processed;
  199.     /**
  200.      * @var string
  201.      *
  202.      * @ORM\Column(name="done", type="string", length=0, nullable=false, options={"default"="no"})
  203.      */
  204.     private $done 'no';
  205.     /**
  206.      * @var int|null
  207.      *
  208.      * @ORM\Column(name="crm_mt_uid", type="integer", nullable=true, options={"unsigned"=true})
  209.      */
  210.     private $crmMtUid;
  211.     /**
  212.      * @var int|null
  213.      *
  214.      * @ORM\Column(name="crm_mt_id", type="integer", nullable=true, options={"comment"="номер заказа отправленный в CRM MT"})
  215.      */
  216.     private $crmMtId;
  217.     public function getId(): ?int
  218.     {
  219.         return $this->id;
  220.     }
  221.     public function getUserId(): ?int
  222.     {
  223.         return $this->userId;
  224.     }
  225.     public function setUserId(int $userId): static
  226.     {
  227.         $this->userId $userId;
  228.         return $this;
  229.     }
  230.     public function getUpdate(): ?\DateTimeInterface
  231.     {
  232.         return $this->update;
  233.     }
  234.     public function setUpdate(?\DateTimeInterface $update): static
  235.     {
  236.         $this->update $update;
  237.         return $this;
  238.     }
  239.     public function getType(): ?string
  240.     {
  241.         return $this->type;
  242.     }
  243.     public function setType(string $type): static
  244.     {
  245.         $this->type $type;
  246.         return $this;
  247.     }
  248.     public function getSource(): ?string
  249.     {
  250.         return $this->source;
  251.     }
  252.     public function setSource(string $source): static
  253.     {
  254.         $this->source $source;
  255.         return $this;
  256.     }
  257.     public function getIp(): ?string
  258.     {
  259.         return $this->ip;
  260.     }
  261.     public function setIp(string $ip): static
  262.     {
  263.         $this->ip $ip;
  264.         return $this;
  265.     }
  266.     public function getVariantid(): ?string
  267.     {
  268.         return $this->variantid;
  269.     }
  270.     public function setVariantid(string $variantid): static
  271.     {
  272.         $this->variantid $variantid;
  273.         return $this;
  274.     }
  275.     public function getTourid(): ?int
  276.     {
  277.         return $this->tourid;
  278.     }
  279.     public function setTourid(?int $tourid): static
  280.     {
  281.         $this->tourid $tourid;
  282.         return $this;
  283.     }
  284.     public function getOperatorid(): ?int
  285.     {
  286.         return $this->operatorid;
  287.     }
  288.     public function setOperatorid(?int $operatorid): static
  289.     {
  290.         $this->operatorid $operatorid;
  291.         return $this;
  292.     }
  293.     public function getDirectionid(): ?int
  294.     {
  295.         return $this->directionid;
  296.     }
  297.     public function setDirectionid(?int $directionid): static
  298.     {
  299.         $this->directionid $directionid;
  300.         return $this;
  301.     }
  302.     public function getHotelid(): ?int
  303.     {
  304.         return $this->hotelid;
  305.     }
  306.     public function setHotelid(?int $hotelid): static
  307.     {
  308.         $this->hotelid $hotelid;
  309.         return $this;
  310.     }
  311.     public function getDestid(): ?int
  312.     {
  313.         return $this->destid;
  314.     }
  315.     public function setDestid(int $destid): static
  316.     {
  317.         $this->destid $destid;
  318.         return $this;
  319.     }
  320.     public function getOfficeid(): ?int
  321.     {
  322.         return $this->officeid;
  323.     }
  324.     public function setOfficeid(?int $officeid): static
  325.     {
  326.         $this->officeid $officeid;
  327.         return $this;
  328.     }
  329.     public function getDate(): ?\DateTimeInterface
  330.     {
  331.         return $this->date;
  332.     }
  333.     public function setDate(?\DateTimeInterface $date): static
  334.     {
  335.         $this->date $date;
  336.         return $this;
  337.     }
  338.     public function getLength(): ?int
  339.     {
  340.         return $this->length;
  341.     }
  342.     public function setLength(?int $length): static
  343.     {
  344.         $this->length $length;
  345.         return $this;
  346.     }
  347.     public function getAcmd(): ?string
  348.     {
  349.         return $this->acmd;
  350.     }
  351.     public function setAcmd(?string $acmd): static
  352.     {
  353.         $this->acmd $acmd;
  354.         return $this;
  355.     }
  356.     public function getChildages(): ?string
  357.     {
  358.         return $this->childages;
  359.     }
  360.     public function setChildages(?string $childages): static
  361.     {
  362.         $this->childages $childages;
  363.         return $this;
  364.     }
  365.     public function getTransport(): ?string
  366.     {
  367.         return $this->transport;
  368.     }
  369.     public function setTransport(?string $transport): static
  370.     {
  371.         $this->transport $transport;
  372.         return $this;
  373.     }
  374.     public function getFood(): ?string
  375.     {
  376.         return $this->food;
  377.     }
  378.     public function setFood(?string $food): static
  379.     {
  380.         $this->food $food;
  381.         return $this;
  382.     }
  383.     public function getRoom(): ?int
  384.     {
  385.         return $this->room;
  386.     }
  387.     public function setRoom(?int $room): static
  388.     {
  389.         $this->room $room;
  390.         return $this;
  391.     }
  392.     public function getRoomid(): ?int
  393.     {
  394.         return $this->roomid;
  395.     }
  396.     public function setRoomid(?int $roomid): static
  397.     {
  398.         $this->roomid $roomid;
  399.         return $this;
  400.     }
  401.     public function getPrice(): ?string
  402.     {
  403.         return $this->price;
  404.     }
  405.     public function setPrice(?string $price): static
  406.     {
  407.         $this->price $price;
  408.         return $this;
  409.     }
  410.     public function getPriceshare(): ?string
  411.     {
  412.         return $this->priceshare;
  413.     }
  414.     public function setPriceshare(?string $priceshare): static
  415.     {
  416.         $this->priceshare $priceshare;
  417.         return $this;
  418.     }
  419.     public function getCurrency(): ?string
  420.     {
  421.         return $this->currency;
  422.     }
  423.     public function setCurrency(?string $currency): static
  424.     {
  425.         $this->currency $currency;
  426.         return $this;
  427.     }
  428.     public function getClientPrice(): ?float
  429.     {
  430.         return $this->clientPrice;
  431.     }
  432.     public function setClientPrice(float $clientPrice): static
  433.     {
  434.         $this->clientPrice $clientPrice;
  435.         return $this;
  436.     }
  437.     public function getClientName(): ?string
  438.     {
  439.         return $this->clientName;
  440.     }
  441.     public function setClientName(string $clientName): static
  442.     {
  443.         $this->clientName $clientName;
  444.         return $this;
  445.     }
  446.     public function getClientMail(): ?string
  447.     {
  448.         return $this->clientMail;
  449.     }
  450.     public function setClientMail(string $clientMail): static
  451.     {
  452.         $this->clientMail $clientMail;
  453.         return $this;
  454.     }
  455.     public function getClientTel(): ?string
  456.     {
  457.         return $this->clientTel;
  458.     }
  459.     public function setClientTel(string $clientTel): static
  460.     {
  461.         $this->clientTel $clientTel;
  462.         return $this;
  463.     }
  464.     public function getClientComm(): ?string
  465.     {
  466.         return $this->clientComm;
  467.     }
  468.     public function setClientComm(string $clientComm): static
  469.     {
  470.         $this->clientComm $clientComm;
  471.         return $this;
  472.     }
  473.     public function getAgentComm(): ?string
  474.     {
  475.         return $this->agentComm;
  476.     }
  477.     public function setAgentComm(string $agentComm): static
  478.     {
  479.         $this->agentComm $agentComm;
  480.         return $this;
  481.     }
  482.     public function getProcessed(): ?int
  483.     {
  484.         return $this->processed;
  485.     }
  486.     public function setProcessed(int $processed): static
  487.     {
  488.         $this->processed $processed;
  489.         return $this;
  490.     }
  491.     public function getDone(): ?string
  492.     {
  493.         return $this->done;
  494.     }
  495.     public function setDone(string $done): static
  496.     {
  497.         $this->done $done;
  498.         return $this;
  499.     }
  500.     public function getCrmMtUid(): ?int
  501.     {
  502.         return $this->crmMtUid;
  503.     }
  504.     public function setCrmMtUid(?int $crmMtUid): static
  505.     {
  506.         $this->crmMtUid $crmMtUid;
  507.         return $this;
  508.     }
  509.     public function getCrmMtId(): ?int
  510.     {
  511.         return $this->crmMtId;
  512.     }
  513.     public function setCrmMtId(?int $crmMtId): static
  514.     {
  515.         $this->crmMtId $crmMtId;
  516.         return $this;
  517.     }
  518. }