src/Entity/WhitelabelDomain.php line 10
<?phpnamespace App\Entity;use App\Repository\WhitelabelDomainRepository;use Doctrine\ORM\Mapping as ORM;use Symfony\Component\Uid\Uuid;#[ORM\Entity(repositoryClass: WhitelabelDomainRepository::class)]class WhitelabelDomain{#[ORM\Id]#[ORM\Column(type: 'uuid', unique: true)]private ?string $id = null;#[ORM\Column(length: 255)]private ?string $domain = null;#[ORM\ManyToOne(inversedBy: 'whitelabelDomains')]#[ORM\JoinColumn(nullable: false)]private ?Whitelabel $whitelabel = null;public function __construct(){$this->id = Uuid::v4();}public function getId(): ?string{return $this->id;}public function getDomain(): ?string{return $this->domain;}public function setDomain(string $domain): static{$this->domain = $domain;return $this;}public function getWhitelabel(): ?Whitelabel{return $this->whitelabel;}public function setWhitelabel(?Whitelabel $whitelabel): static{$this->whitelabel = $whitelabel;return $this;}}