<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use App\Repository\ToppingsRepository;
#[ORM\Entity(repositoryClass: ToppingsRepository::class)]
class Toppings
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private ?int $id = null;
#[ORM\Column(type: 'string', length: 255)]
private ?string $name = null;
#[ORM\Column(type: 'string', length: 255)]
private ?string $pos_id = null;
#[ORM\Column(type: 'string', length: 255)]
private ?string $pos_id_1050 = null;
#[ORM\Column(type: 'string', length: 255)]
private ?string $pos_id_10202 = null;
#[ORM\Column(type: 'float')]
private ?float $price = null;
public function __toString()
{
return $this->name;
}
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getPosId(): ?string
{
return $this->pos_id;
}
public function setPosId(string $pos_id): self
{
$this->pos_id = $pos_id;
return $this;
}
public function getPosId1050(): ?string
{
return $this->pos_id_1050;
}
public function getPosId10202(): ?string
{
return $this->pos_id_10202;
}
public function setPosId1050(string $pos_id_1050): self
{
$this->pos_id_1050 = $pos_id_1050;
return $this;
}
public function setPosId10202(string $pos_id_10202): self
{
$this->pos_id_10202 = $pos_id_10202;
return $this;
}
public function getPrice(): ?float
{
return $this->price;
}
public function setPrice(float $price): self
{
$this->price = $price;
return $this;
}
}