src/Entity/MachinePaperSizeBlackOnlyClickMatrix.php line 12

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