<?php
namespace App\Entity;
use App\Repository\MachinePaperSizeBlackOnlyClickMatrixRepository;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Timestampable\Traits\TimestampableEntity;
/**
* @ORM\Entity(repositoryClass=MachinePaperSizeBlackOnlyClickMatrixRepository::class)
*/
class MachinePaperSizeBlackOnlyClickMatrix
{
use TimestampableEntity;
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=MachinePaperSizeMatrix::class, inversedBy="machinePaperSizeBlackOnlyClickMatrices")
*/
private $machinePaperSizeMatrix;
/**
* @ORM\Column(type="integer")
*/
private $startQty;
/**
* @ORM\Column(type="decimal", precision=10, scale=4)
*/
private $cost;
public function getId(): ?int
{
return $this->id;
}
public function getMachinePaperSizeMatrix(): ?MachinePaperSizeMatrix
{
return $this->machinePaperSizeMatrix;
}
public function setMachinePaperSizeMatrix(?MachinePaperSizeMatrix $machinePaperSizeMatrix): self
{
$this->machinePaperSizeMatrix = $machinePaperSizeMatrix;
return $this;
}
public function getStartQty(): ?int
{
return $this->startQty;
}
public function setStartQty(int $startQty): self
{
$this->startQty = $startQty;
return $this;
}
public function getCost(): ?string
{
return $this->cost;
}
public function setCost(string $cost): self
{
$this->cost = $cost;
return $this;
}
}