<?php
namespace App\Entity\Slave;
use App\Twig\Extension\AppExtension;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Table(name="eposm_s_ticket_column_value")
* @ORM\Entity(repositoryClass="App\Repository\Slave\TicketColumnValueRepository")
*/
class TicketColumnValue
{
public function getCanDelete(){
return true;
}
/**
* @ORM\Column(name="id", type="bigint")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id;
/**
* @ORM\Column(name="ticket_column", type="string", length=191)
*/
protected $ticketColumn;
/**
* @ORM\Column(name="needle", type="string", length=191)
*/
protected $needle;
/**
* @ORM\Column(name="value", type="string", length=191)
*/
protected $value;
// ManyToOne
/**
* @ORM\ManyToOne(targetEntity="App\Entity\Slave\Supplier", inversedBy="ticketColumnValues")
* @ORM\JoinColumn(name="supplier_id", referencedColumnName="id")
*/
private $supplier;
//
public function getId(): ?string
{
return $this->id;
}
public function getTicketColumn(): ?string
{
return $this->ticketColumn;
}
public function setTicketColumn(string $ticketColumn): static
{
$this->ticketColumn = $ticketColumn;
return $this;
}
public function getNeedle(): ?string
{
return $this->needle;
}
public function setNeedle(string $needle): static
{
$this->needle = $needle;
return $this;
}
public function getValue(): ?string
{
return $this->value;
}
public function setValue(string $value): static
{
$this->value = $value;
return $this;
}
public function getSupplier(): ?Supplier
{
return $this->supplier;
}
public function setSupplier(?Supplier $supplier): static
{
$this->supplier = $supplier;
return $this;
}
}