<?php
namespace App\Entity;
use App\Repository\AdvertisingAreaTierPositionRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: AdvertisingAreaTierPositionRepository::class)]
class AdvertisingAreaTierPosition
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $position = null;
#[ORM\ManyToOne(targetEntity: 'App\Entity\AdvertisingAreaTier', inversedBy: 'advertisingAreaTierPositions')]
#[ORM\JoinColumn(nullable: false)]
private ?AdvertisingAreaTier $advertisingAreaTier = null;
public function getId(): ?int
{
return $this->id;
}
public function getPosition(): ?string
{
return $this->position;
}
public function setPosition(string $position): self
{
$this->position = $position;
return $this;
}
public function getAdvertisingAreaTier(): ?AdvertisingAreaTier
{
return $this->advertisingAreaTier;
}
public function setAdvertisingAreaTier(?AdvertisingAreaTier $advertisingAreaTier): self
{
$this->advertisingAreaTier = $advertisingAreaTier;
return $this;
}
}