<?php
namespace App\Entity;
use App\Repository\AccessoryRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=AccessoryRepository::class)
*/
class Accessory extends Product
{
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $state;
/**
* @ORM\Column(type="smallint")
*/
private $weight;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $img;
public function getState(): ?string
{
return $this->state;
}
public function setState(?string $state): self
{
$this->state = $state;
return $this;
}
public function getImg(): ?string
{
return $this->img;
}
public function setImg(?string $img): self
{
$this->img = $img;
return $this;
}
}