src/Entity/RequestDataChange.php line 11

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\RequestDataChangeRepository;
  4. use DateTime;
  5. use Doctrine\DBAL\Types\Types;
  6. use Doctrine\ORM\Mapping as ORM;
  7. #[ORM\Entity(repositoryClassRequestDataChangeRepository::class)]
  8. class RequestDataChange
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\Column(length255nullabletrue)]
  15.     private ?string $type null;
  16.     #[ORM\Column(length255nullabletrue)]
  17.     private ?string $currentDoctorFullName null;
  18.     #[ORM\Column(length255nullabletrue)]
  19.     private ?string $currentDoctorAddress null;
  20.     #[ORM\Column(length255nullabletrue)]
  21.     private ?string $currentDoctorMobile null;
  22.     #[ORM\Column(length255nullabletrue)]
  23.     private ?string $currentDoctorEmail null;
  24.     #[ORM\Column(length100nullabletrue)]
  25.     private ?string $currentDoctorPhone null;
  26.     #[ORM\Column(length255nullabletrue)]
  27.     private ?string $newDoctorFullName null;
  28.     #[ORM\Column(length255nullabletrue)]
  29.     private ?string $newDoctorAddress null;
  30.     #[ORM\Column(length255nullabletrue)]
  31.     private ?string $newDoctorMobile null;
  32.     #[ORM\Column(length100nullabletrue)]
  33.     private ?string $newDoctorPhone null;
  34.     #[ORM\Column(length100nullabletrue)]
  35.     private ?string $newDoctorEmail null;
  36.     #[ORM\Column(nullabletrue)]
  37.     private ?bool $check1 null;
  38.     #[ORM\Column(nullabletrue)]
  39.     private ?bool $check2 null;
  40.     #[ORM\Column(nullabletrue)]
  41.     private ?bool $check3 null;
  42.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  43.     private ?string $notice null;
  44.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  45.     private ?\DateTimeInterface $created null;
  46.     #[ORM\Column(length100nullabletrue)]
  47.     private ?string $currentDoctorFixedPhone null;
  48.     #[ORM\Column(length100nullabletrue)]
  49.     private ?string $newDoctorFixedPhone null;
  50.     #[ORM\ManyToOne(inversedBy'requestDataChanges')]
  51.     private ?User $user null;
  52.     public function __construct(){
  53.         $this->created = new DateTime();
  54.     }
  55.     public function getId(): ?int
  56.     {
  57.         return $this->id;
  58.     }
  59.     public function getType(): ?string
  60.     {
  61.         return $this->type;
  62.     }
  63.     public function setType(?string $type): self
  64.     {
  65.         $this->type $type;
  66.         return $this;
  67.     }
  68.     public function getCurrentDoctorFullName(): ?string
  69.     {
  70.         return $this->currentDoctorFullName;
  71.     }
  72.     public function setCurrentDoctorFullName(?string $currentDoctorFullName): self
  73.     {
  74.         $this->currentDoctorFullName $currentDoctorFullName;
  75.         return $this;
  76.     }
  77.     public function getCurrentDoctorAddress(): ?string
  78.     {
  79.         return $this->currentDoctorAddress;
  80.     }
  81.     public function setCurrentDoctorAddress(?string $currentDoctorAddress): self
  82.     {
  83.         $this->currentDoctorAddress $currentDoctorAddress;
  84.         return $this;
  85.     }
  86.     public function getCurrentDoctorMobile(): ?string
  87.     {
  88.         return $this->currentDoctorMobile;
  89.     }
  90.     public function setCurrentDoctorMobile(?string $currentDoctorMobile): self
  91.     {
  92.         $this->currentDoctorMobile $currentDoctorMobile;
  93.         return $this;
  94.     }
  95.     public function getCurrentDoctorEmail(): ?string
  96.     {
  97.         return $this->currentDoctorEmail;
  98.     }
  99.     public function setCurrentDoctorEmail(?string $currentDoctorEmail): self
  100.     {
  101.         $this->currentDoctorEmail $currentDoctorEmail;
  102.         return $this;
  103.     }
  104.     public function getCurrentDoctorPhone(): ?string
  105.     {
  106.         return $this->currentDoctorPhone;
  107.     }
  108.     public function setCurrentDoctorPhone(?string $currentDoctorPhone): self
  109.     {
  110.         $this->currentDoctorPhone $currentDoctorPhone;
  111.         return $this;
  112.     }
  113.     public function getNewDoctorFullName(): ?string
  114.     {
  115.         return $this->newDoctorFullName;
  116.     }
  117.     public function setNewDoctorFullName(?string $newDoctorFullName): self
  118.     {
  119.         $this->newDoctorFullName $newDoctorFullName;
  120.         return $this;
  121.     }
  122.     public function getNewDoctorAddress(): ?string
  123.     {
  124.         return $this->newDoctorAddress;
  125.     }
  126.     public function setNewDoctorAddress(?string $newDoctorAddress): self
  127.     {
  128.         $this->newDoctorAddress $newDoctorAddress;
  129.         return $this;
  130.     }
  131.     public function getNewDoctorMobile(): ?string
  132.     {
  133.         return $this->newDoctorMobile;
  134.     }
  135.     public function setNewDoctorMobile(?string $newDoctorMobile): self
  136.     {
  137.         $this->newDoctorMobile $newDoctorMobile;
  138.         return $this;
  139.     }
  140.     public function getNewDoctorPhone(): ?string
  141.     {
  142.         return $this->newDoctorPhone;
  143.     }
  144.     public function setNewDoctorPhone(?string $newDoctorPhone): self
  145.     {
  146.         $this->newDoctorPhone $newDoctorPhone;
  147.         return $this;
  148.     }
  149.     public function getNewDoctorEmail(): ?string
  150.     {
  151.         return $this->newDoctorEmail;
  152.     }
  153.     public function setNewDoctorEmail(?string $newDoctorEmail): self
  154.     {
  155.         $this->newDoctorEmail $newDoctorEmail;
  156.         return $this;
  157.     }
  158.     public function isCheck1(): ?bool
  159.     {
  160.         return $this->check1;
  161.     }
  162.     public function setCheck1(?bool $check1): self
  163.     {
  164.         $this->check1 $check1;
  165.         return $this;
  166.     }
  167.     public function isCheck2(): ?bool
  168.     {
  169.         return $this->check2;
  170.     }
  171.     public function setCheck2(?bool $check2): self
  172.     {
  173.         $this->check2 $check2;
  174.         return $this;
  175.     }
  176.     public function isCheck3(): ?bool
  177.     {
  178.         return $this->check3;
  179.     }
  180.     public function setCheck3(?bool $check3): self
  181.     {
  182.         $this->check3 $check3;
  183.         return $this;
  184.     }
  185.     public function getNotice(): ?string
  186.     {
  187.         return $this->notice;
  188.     }
  189.     public function setNotice(?string $notice): self
  190.     {
  191.         $this->notice $notice;
  192.         return $this;
  193.     }
  194.     public function getCreated(): ?\DateTimeInterface
  195.     {
  196.         return $this->created;
  197.     }
  198.     public function setCreated(?\DateTimeInterface $created): self
  199.     {
  200.         $this->created $created;
  201.         return $this;
  202.     }
  203.     public function getCurrentDoctorFixedPhone(): ?string
  204.     {
  205.         return $this->currentDoctorFixedPhone;
  206.     }
  207.     public function setCurrentDoctorFixedPhone(?string $currentDoctorFixedPhone): self
  208.     {
  209.         $this->currentDoctorFixedPhone $currentDoctorFixedPhone;
  210.         return $this;
  211.     }
  212.     public function getNewDoctorFixedPhone(): ?string
  213.     {
  214.         return $this->newDoctorFixedPhone;
  215.     }
  216.     public function setNewDoctorFixedPhone(?string $newDoctorFixedPhone): self
  217.     {
  218.         $this->newDoctorFixedPhone $newDoctorFixedPhone;
  219.         return $this;
  220.     }
  221.     public function getUser(): ?User
  222.     {
  223.         return $this->user;
  224.     }
  225.     public function setUser(?User $user): self
  226.     {
  227.         $this->user $user;
  228.         return $this;
  229.     }
  230. }