src/Entity/RequestDataChange.php line 11
<?php
namespace App\Entity;
use App\Repository\RequestDataChangeRepository;
use DateTime;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: RequestDataChangeRepository::class)]
class RequestDataChange
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $type = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $currentDoctorFullName = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $currentDoctorAddress = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $currentDoctorMobile = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $currentDoctorEmail = null;
#[ORM\Column(length: 100, nullable: true)]
private ?string $currentDoctorPhone = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $newDoctorFullName = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $newDoctorAddress = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $newDoctorMobile = null;
#[ORM\Column(length: 100, nullable: true)]
private ?string $newDoctorPhone = null;
#[ORM\Column(length: 100, nullable: true)]
private ?string $newDoctorEmail = null;
#[ORM\Column(nullable: true)]
private ?bool $check1 = null;
#[ORM\Column(nullable: true)]
private ?bool $check2 = null;
#[ORM\Column(nullable: true)]
private ?bool $check3 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $notice = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $created = null;
#[ORM\Column(length: 100, nullable: true)]
private ?string $currentDoctorFixedPhone = null;
#[ORM\Column(length: 100, nullable: true)]
private ?string $newDoctorFixedPhone = null;
#[ORM\ManyToOne(inversedBy: 'requestDataChanges')]
private ?User $user = null;
public function __construct(){
$this->created = new DateTime();
}
public function getId(): ?int
{
return $this->id;
}
public function getType(): ?string
{
return $this->type;
}
public function setType(?string $type): self
{
$this->type = $type;
return $this;
}
public function getCurrentDoctorFullName(): ?string
{
return $this->currentDoctorFullName;
}
public function setCurrentDoctorFullName(?string $currentDoctorFullName): self
{
$this->currentDoctorFullName = $currentDoctorFullName;
return $this;
}
public function getCurrentDoctorAddress(): ?string
{
return $this->currentDoctorAddress;
}
public function setCurrentDoctorAddress(?string $currentDoctorAddress): self
{
$this->currentDoctorAddress = $currentDoctorAddress;
return $this;
}
public function getCurrentDoctorMobile(): ?string
{
return $this->currentDoctorMobile;
}
public function setCurrentDoctorMobile(?string $currentDoctorMobile): self
{
$this->currentDoctorMobile = $currentDoctorMobile;
return $this;
}
public function getCurrentDoctorEmail(): ?string
{
return $this->currentDoctorEmail;
}
public function setCurrentDoctorEmail(?string $currentDoctorEmail): self
{
$this->currentDoctorEmail = $currentDoctorEmail;
return $this;
}
public function getCurrentDoctorPhone(): ?string
{
return $this->currentDoctorPhone;
}
public function setCurrentDoctorPhone(?string $currentDoctorPhone): self
{
$this->currentDoctorPhone = $currentDoctorPhone;
return $this;
}
public function getNewDoctorFullName(): ?string
{
return $this->newDoctorFullName;
}
public function setNewDoctorFullName(?string $newDoctorFullName): self
{
$this->newDoctorFullName = $newDoctorFullName;
return $this;
}
public function getNewDoctorAddress(): ?string
{
return $this->newDoctorAddress;
}
public function setNewDoctorAddress(?string $newDoctorAddress): self
{
$this->newDoctorAddress = $newDoctorAddress;
return $this;
}
public function getNewDoctorMobile(): ?string
{
return $this->newDoctorMobile;
}
public function setNewDoctorMobile(?string $newDoctorMobile): self
{
$this->newDoctorMobile = $newDoctorMobile;
return $this;
}
public function getNewDoctorPhone(): ?string
{
return $this->newDoctorPhone;
}
public function setNewDoctorPhone(?string $newDoctorPhone): self
{
$this->newDoctorPhone = $newDoctorPhone;
return $this;
}
public function getNewDoctorEmail(): ?string
{
return $this->newDoctorEmail;
}
public function setNewDoctorEmail(?string $newDoctorEmail): self
{
$this->newDoctorEmail = $newDoctorEmail;
return $this;
}
public function isCheck1(): ?bool
{
return $this->check1;
}
public function setCheck1(?bool $check1): self
{
$this->check1 = $check1;
return $this;
}
public function isCheck2(): ?bool
{
return $this->check2;
}
public function setCheck2(?bool $check2): self
{
$this->check2 = $check2;
return $this;
}
public function isCheck3(): ?bool
{
return $this->check3;
}
public function setCheck3(?bool $check3): self
{
$this->check3 = $check3;
return $this;
}
public function getNotice(): ?string
{
return $this->notice;
}
public function setNotice(?string $notice): self
{
$this->notice = $notice;
return $this;
}
public function getCreated(): ?\DateTimeInterface
{
return $this->created;
}
public function setCreated(?\DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCurrentDoctorFixedPhone(): ?string
{
return $this->currentDoctorFixedPhone;
}
public function setCurrentDoctorFixedPhone(?string $currentDoctorFixedPhone): self
{
$this->currentDoctorFixedPhone = $currentDoctorFixedPhone;
return $this;
}
public function getNewDoctorFixedPhone(): ?string
{
return $this->newDoctorFixedPhone;
}
public function setNewDoctorFixedPhone(?string $newDoctorFixedPhone): self
{
$this->newDoctorFixedPhone = $newDoctorFixedPhone;
return $this;
}
public function getUser(): ?User
{
return $this->user;
}
public function setUser(?User $user): self
{
$this->user = $user;
return $this;
}
}