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