<?php
namespace App\Entity;
use App\Repository\QuotaProductJobRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=QuotaProductJobRepository::class)
*/
class QuotaProductJob
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=CustomProduct::class, inversedBy="quotaProductJob")
*/
private ?CustomProduct $customProduct;
/**
* @ORM\Column(type="integer")
*/
private ?int $quota;
/**
* @ORM\Column(type="string", length=255)
*/
private ?string $job;
public function getId(): ?int
{
return $this->id;
}
/**
* @return Collection<int, CustomProduct>
*/
public function getCustomProduct(): ?CustomProduct
{
return $this->customProduct;
}
public function setCustomProduct(?CustomProduct $customProduct): self
{
$this->customProduct = $customProduct;
return $this;
}
public function getQuota(): ?int
{
return $this->quota;
}
public function setQuota(int $quota): self
{
$this->quota = $quota;
return $this;
}
public function getJob(): ?string
{
return $this->job;
}
public function setJob(string $job): self
{
$this->job = $job;
return $this;
}
}