src/Entity/PackageFeatures.php line 9
<?phpnamespace App\Entity;use App\Repository\PackageFeaturesRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: PackageFeaturesRepository::class)]class PackageFeatures{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\ManyToOne(targetEntity: Package::class, inversedBy: 'packageFeatures')]private Package $package;#[ORM\Column(type: 'integer')]private int $type;#[ORM\Column(type: 'integer', nullable: true)]private ?int $attempt;#[ORM\Column(type: 'dateinterval', nullable: true)]private ?\DateInterval $duration = null;public function getId(): ?int{return $this->id;}public function getAttempt(): ?int{return $this->attempt;}public function setAttempt(?int $attempt): static{$this->attempt = $attempt;return $this;}public function getDuration(): ?\DateInterval{return $this->duration;}public function setDuration(?\DateInterval $duration): static{$this->duration = $duration;return $this;}public function getPackage(): ?Package{return $this->package;}public function setPackage(?Package $package): static{$this->package = $package;return $this;}public function getType(): ?int{return $this->type;}public function setType(int $type): static{$this->type = $type;return $this;}}