domain-watchdog/src/Entity/IanaAccreditation.php

88 lines
1.8 KiB
PHP
Raw Normal View History

2025-09-10 22:17:19 +02:00
<?php
namespace App\Entity;
use App\Config\RegistrarStatus;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\ORM\Mapping\Embeddable;
#[Embeddable]
class IanaAccreditation
{
#[ORM\Column(length: 255, nullable: true)]
private ?string $registrarName = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $rdapBaseUrl = null;
#[ORM\Column(nullable: true, enumType: RegistrarStatus::class)]
private ?RegistrarStatus $status = null;
#[ORM\Column(type: Types::DATE_IMMUTABLE, nullable: true)]
private ?\DateTimeImmutable $updated = null;
#[ORM\Column(type: Types::DATE_IMMUTABLE, nullable: true)]
private ?\DateTimeImmutable $date = null;
public function getRegistrarName(): ?string
{
return $this->registrarName;
}
public function setRegistrarName(?string $registrarName): static
{
$this->registrarName = $registrarName;
return $this;
}
public function getRdapBaseUrl(): ?string
{
return $this->rdapBaseUrl;
}
public function setRdapBaseUrl(?string $rdapBaseUrl): static
{
$this->rdapBaseUrl = $rdapBaseUrl;
return $this;
}
public function getStatus(): ?RegistrarStatus
{
return $this->status;
}
public function setStatus(?RegistrarStatus $status): static
{
$this->status = $status;
return $this;
}
public function getUpdated(): ?\DateTimeImmutable
{
return $this->updated;
}
public function setUpdated(?\DateTimeImmutable $updated): static
{
$this->updated = $updated;
return $this;
}
public function getDate(): ?\DateTimeImmutable
{
return $this->date;
}
public function setDate(?\DateTimeImmutable $date): static
{
$this->date = $date;
return $this;
}
}