src/Entity/Preorders.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PreordersRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=PreordersRepository::class)
  7.  */
  8. class Preorders
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=255)
  18.      */
  19.     private $clientName;
  20.     /**
  21.      * @ORM\Column(type="string", length=255)
  22.      */
  23.     private $client;
  24.     /**
  25.      * @ORM\Column(type="string", length=500, nullable=true)
  26.      */
  27.     private $clientEmail;
  28.     /**
  29.      * @ORM\Column(type="string", length=500, nullable=true)
  30.      */
  31.     private $clientPhone;
  32.     /**
  33.      * @ORM\Column(type="string", length=500, nullable=true)
  34.      */
  35.     private $wwwDev;
  36.     /**
  37.      * @ORM\Column(type="string", length=500, nullable=true)
  38.      */
  39.     private $wwwProd;
  40.     /**
  41.      * @ORM\Column(type="string", length=255, nullable=true)
  42.      */
  43.     private $company;
  44.     /**
  45.      * @ORM\Column(type="integer", nullable=true, options={"default" : 7})
  46.      */
  47.     private $forecast;
  48.     /**
  49.      * @ORM\Column(type="integer", nullable=true, options={"default" : 7})
  50.      */
  51.     private $forecast1;
  52.     /**
  53.      * @ORM\Column(type="integer", nullable=true, options={"default" : 7})
  54.      */
  55.     private $forecast2;
  56.     /**
  57.      * @ORM\Column(type="string", length=255, nullable=true)
  58.      */
  59.     private $ftrans;
  60.     /**
  61.      * @ORM\Column(type="string", length=255, nullable=true)
  62.      */
  63.     private $strans;
  64.     /**
  65.      * @ORM\Column(type="string", length=255, nullable=true)
  66.      */
  67.     private $ttrans;
  68.     /**
  69.      * @ORM\Column(type="integer", nullable=true, options={"default" : 0})
  70.      */
  71.     private $ftransComplet;
  72.     /**
  73.      * @ORM\Column(type="integer", nullable=true, options={"default" : 0})
  74.      */
  75.     private $stransComplet;
  76.     /**
  77.      * @ORM\Column(type="integer", nullable=true, options={"default" : 0})
  78.      */
  79.     private $ttransComplet;
  80.     /**
  81.      * @ORM\Column(type="string", length=255, nullable=true)
  82.      */
  83.     private $price;
  84.     /**
  85.      * @ORM\Column(type="integer", nullable=true, options={"default" : 0})
  86.      */
  87.     private $removed;
  88.     /**
  89.      * @ORM\Column(type="text", nullable=true)
  90.      */
  91.     private $description;
  92.     /**
  93.      * @ORM\Column(type="text", nullable=true)
  94.      */
  95.     private $payments;
  96.     /**
  97.      * @ORM\Column(type="text", nullable=true)
  98.      */
  99.     private $files;
  100.     /**
  101.      * @ORM\Column(type="string", length=255)
  102.      */
  103.     private $status;
  104.     /**
  105.      * @ORM\Column(type="datetime", nullable=true)
  106.      */
  107.     private $lastEntryDate;
  108.     /**
  109.      * @ORM\ManyToOne(targetEntity=Users::class, inversedBy="preorders")
  110.      */
  111.     private $worker;
  112.     /**
  113.      * @ORM\Column(type="integer", nullable=true)
  114.      */
  115.     private $color;
  116.     public function getId(): ?int
  117.     {
  118.         return $this->id;
  119.     }
  120.     public function getClient(): ?string
  121.     {
  122.         return $this->client;
  123.     }
  124.     public function setClient(string $client): self
  125.     {
  126.         $this->client $client;
  127.         return $this;
  128.     }
  129.     public function getClientName(): ?string
  130.     {
  131.         return $this->clientName;
  132.     }
  133.     public function setClientName(string $clientName): self
  134.     {
  135.         $this->clientName $clientName;
  136.         return $this;
  137.     }
  138.     public function getClientEmail(): ?string
  139.     {
  140.         return $this->clientEmail;
  141.     }
  142.     public function setClientEmail(?string $clientEmail): self
  143.     {
  144.         $this->clientEmail $clientEmail;
  145.         return $this;
  146.     }  
  147.     public function getClientPhone(): ?string
  148.     {
  149.         return $this->clientPhone;
  150.     }
  151.     public function setClientPhone(?string $clientPhone): self
  152.     {
  153.         $this->clientPhone $clientPhone;
  154.         return $this;
  155.     }  
  156.     public function getWwwDev(): ?string
  157.     {
  158.         return $this->wwwDev;
  159.     }
  160.     public function setWwwDev(?string $wwwDev): self
  161.     {
  162.         $this->wwwDev $wwwDev;
  163.         return $this;
  164.     }  
  165.     public function getWwwProd(): ?string
  166.     {
  167.         return $this->wwwProd;
  168.     }
  169.     public function setWwwProd(?string $wwwProd): self
  170.     {
  171.         $this->wwwProd $wwwProd;
  172.         return $this;
  173.     }  
  174.     public function getCompany(): ?string
  175.     {
  176.         return $this->company;
  177.     }
  178.     public function setCompany(?string $company): self
  179.     {
  180.         $this->company $company;
  181.         return $this;
  182.     }
  183.     public function getForecast(): ?string
  184.     {
  185.         return $this->forecast;
  186.     }
  187.     public function setForecast(?string $forecast): self
  188.     {
  189.         $this->forecast $forecast;
  190.         return $this;
  191.     }
  192.     public function getForecast1(): ?string
  193.     {
  194.         return $this->forecast1;
  195.     }
  196.     public function setForecast1(?string $forecast1): self
  197.     {
  198.         $this->forecast1 $forecast1;
  199.         return $this;
  200.     }
  201.     public function getForecast2(): ?string
  202.     {
  203.         return $this->forecast2;
  204.     }
  205.     public function setForecast2(?string $forecast2): self
  206.     {
  207.         $this->forecast2 $forecast2;
  208.         return $this;
  209.     }
  210.     public function getFtrans(): ?string
  211.     {
  212.         return $this->ftrans;
  213.     }
  214.     
  215.     public function setFtrans(?string $ftrans): self
  216.     {
  217.         $this->ftrans $ftrans;
  218.         return $this;
  219.     }
  220.     public function getStrans(): ?string
  221.     {
  222.         return $this->strans;
  223.     }
  224.     
  225.     public function setStrans(?string $strans): self
  226.     {
  227.         $this->strans $strans;
  228.         return $this;
  229.     }
  230.     public function getTtrans(): ?string
  231.     {
  232.         return $this->ttrans;
  233.     }
  234.     
  235.     public function setTtrans(?string $ttrans): self
  236.     {
  237.         $this->ttrans $ttrans;
  238.         return $this;
  239.     }
  240.     public function getPrice(): ?string
  241.     {
  242.         return $this->price;
  243.     }
  244.     public function setPrice(?string $price): self
  245.     {
  246.         $this->price $price;
  247.         return $this;
  248.     }
  249.     public function getFtransComplet(): ?int
  250.     {
  251.         return $this->ftransComplet;
  252.     }
  253.     public function setFtransComplet(?int $ftransComplet): self
  254.     {
  255.         $this->ftransComplet $ftransComplet;
  256.         return $this;
  257.     }
  258.     public function getStransComplet(): ?int
  259.     {
  260.         return $this->stransComplet;
  261.     }
  262.     public function setStransComplet(?int $stransComplet): self
  263.     {
  264.         $this->stransComplet $stransComplet;
  265.         return $this;
  266.     }
  267.     public function getTtransComplet(): ?int
  268.     {
  269.         return $this->ttransComplet;
  270.     }
  271.     public function setTtransComplet(?int $ttransComplet): self
  272.     {
  273.         $this->ttransComplet $ttransComplet;
  274.         return $this;
  275.     }
  276.     public function getStatus(): ?string
  277.     {
  278.         return $this->status;
  279.     }
  280.     public function setStatus(string $status): self
  281.     {
  282.         $this->status $status;
  283.         return $this;
  284.     }
  285.     public function getPayments(): ?string
  286.     {
  287.         return $this->payments;
  288.     }
  289.     public function setPayments(?string $payments): self
  290.     {
  291.         $this->payments $payments;
  292.         return $this;
  293.     }
  294.     public function getDescription(): ?string
  295.     {
  296.         return $this->description;
  297.     }
  298.     public function setDescription(?string $description): self
  299.     {
  300.         $this->description $description;
  301.         return $this;
  302.     }
  303.     public function getFiles(): ?string
  304.     {
  305.         return $this->files;
  306.     }
  307.     public function setFiles(?string $files): self
  308.     {
  309.         $this->files $files;
  310.         return $this;
  311.     }
  312.     public function getLastEntryDate(): ?\DateTimeInterface
  313.     {
  314.         return $this->lastEntryDate;
  315.     }
  316.     public function setLastEntryDate(\DateTimeInterface $lastEntryDate): self
  317.     {
  318.         $this->lastEntryDate $lastEntryDate;
  319.         return $this;
  320.     }
  321.     public function getWorker(): ?Users
  322.     {
  323.         return $this->worker;
  324.     }
  325.     public function setWorker(?Users $worker): self
  326.     {
  327.         $this->worker $worker;
  328.         return $this;
  329.     }
  330.     public function getColor(): ?int
  331.     {
  332.         return $this->color;
  333.     }
  334.     public function setColor(?int $color): self
  335.     {
  336.         $this->color $color;
  337.         return $this;
  338.     }
  339. }