src/Entity/MachinePaperSizeTimeMatrix.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\MachinePaperSizeTimeMatrixRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Gedmo\Timestampable\Traits\TimestampableEntity;
  6. /**
  7.  * @ORM\Entity(repositoryClass=MachinePaperSizeTimeMatrixRepository::class)
  8.  */
  9. class MachinePaperSizeTimeMatrix
  10. {
  11.     use TimestampableEntity;
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.     /**
  19.      * @ORM\Column(type="integer")
  20.      */
  21.     private $startQty;
  22.     /**
  23.      * @ORM\Column(type="integer")
  24.      */
  25.     private $time;
  26.     /**
  27.      * @ORM\ManyToOne(targetEntity=MachinePaperSizeMatrix::class, inversedBy="machinePaperSizeTimeMatrices")
  28.      */
  29.     private $machinePaperSizeMatrix;
  30.     /**
  31.      * @ORM\Column(type="decimal", precision=10, scale=4)
  32.      */
  33.     private $rate;
  34.     public function getId(): ?int
  35.     {
  36.         return $this->id;
  37.     }
  38.     public function getStartQty(): ?int
  39.     {
  40.         return $this->startQty;
  41.     }
  42.     public function setStartQty(int $startQty): self
  43.     {
  44.         $this->startQty $startQty;
  45.         return $this;
  46.     }
  47.     public function getTime(): ?int
  48.     {
  49.         return $this->time;
  50.     }
  51.     public function setTime(int $time): self
  52.     {
  53.         $this->time $time;
  54.         return $this;
  55.     }
  56.     public function getMachinePaperSizeMatrix(): ?MachinePaperSizeMatrix
  57.     {
  58.         return $this->machinePaperSizeMatrix;
  59.     }
  60.     public function setMachinePaperSizeMatrix(?MachinePaperSizeMatrix $machinePaperSizeMatrix): self
  61.     {
  62.         $this->machinePaperSizeMatrix $machinePaperSizeMatrix;
  63.         return $this;
  64.     }
  65.     public function getRate(): ?string
  66.     {
  67.         return $this->rate;
  68.     }
  69.     public function setRate(string $rate): self
  70.     {
  71.         $this->rate $rate;
  72.         return $this;
  73.     }
  74. }