src/Entity/Slave/TicketColumnValue.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Slave;
  3. use App\Twig\Extension\AppExtension;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\DBAL\Types\Types;
  7. use Doctrine\ORM\Mapping as ORM;
  8. /**
  9.  * @ORM\Table(name="eposm_s_ticket_column_value")
  10.  * @ORM\Entity(repositoryClass="App\Repository\Slave\TicketColumnValueRepository")
  11.  */
  12. class TicketColumnValue
  13. {    
  14.     public function getCanDelete(){
  15.         return true;
  16.     }
  17.     /**
  18.      * @ORM\Column(name="id", type="bigint")
  19.      * @ORM\Id
  20.      * @ORM\GeneratedValue(strategy="AUTO")
  21.      */
  22.     protected $id;
  23.     /**
  24.      * @ORM\Column(name="ticket_column", type="string", length=191)
  25.      */
  26.     protected $ticketColumn;
  27.     
  28.     /**
  29.      * @ORM\Column(name="needle", type="string", length=191)
  30.      */
  31.     protected $needle;
  32.     /**
  33.      * @ORM\Column(name="value", type="string", length=191)
  34.      */
  35.     protected $value;
  36.     // ManyToOne
  37.         /**
  38.          * @ORM\ManyToOne(targetEntity="App\Entity\Slave\Supplier", inversedBy="ticketColumnValues")
  39.          * @ORM\JoinColumn(name="supplier_id", referencedColumnName="id")
  40.          */
  41.         private $supplier;
  42.     //
  43.     public function getId(): ?string
  44.     {
  45.         return $this->id;
  46.     }
  47.     public function getTicketColumn(): ?string
  48.     {
  49.         return $this->ticketColumn;
  50.     }
  51.     public function setTicketColumn(string $ticketColumn): static
  52.     {
  53.         $this->ticketColumn $ticketColumn;
  54.         return $this;
  55.     }
  56.     public function getNeedle(): ?string
  57.     {
  58.         return $this->needle;
  59.     }
  60.     public function setNeedle(string $needle): static
  61.     {
  62.         $this->needle $needle;
  63.         return $this;
  64.     }
  65.     public function getValue(): ?string
  66.     {
  67.         return $this->value;
  68.     }
  69.     public function setValue(string $value): static
  70.     {
  71.         $this->value $value;
  72.         return $this;
  73.     }
  74.     public function getSupplier(): ?Supplier
  75.     {
  76.         return $this->supplier;
  77.     }
  78.     public function setSupplier(?Supplier $supplier): static
  79.     {
  80.         $this->supplier $supplier;
  81.         return $this;
  82.     }
  83. }