src/Entity/Gos/OrderTeleConsultant.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Gos;
  3. use App\Repository\Gos\OrderTeleConsultantRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=OrderTeleConsultantRepository::class)
  7.  * @ORM\HasLifecycleCallbacks
  8.  */
  9. class OrderTeleConsultant
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="string", length=255)
  19.      */
  20.     private $rid;
  21.     /**
  22.      * @ORM\Column(type="string", length=255, nullable=true)
  23.      */
  24.     private $phone;
  25.     /**
  26.      * @ORM\Column(type="string", length=255, nullable=true)
  27.      */
  28.     private $firstName;
  29.     /**
  30.      * @ORM\Column(type="string", length=255, nullable=true)
  31.      */
  32.     private $lastName;
  33.     /**
  34.      * @ORM\Column(type="string", length=255, nullable=true)
  35.      */
  36.     private $team;
  37.     /**
  38.      * @ORM\Column(type="string", length=255, nullable=true)
  39.      */
  40.     private $email;
  41.     /**
  42.      * @ORM\Column(type="datetime", nullable=true)
  43.      */
  44.     private $createdAt;
  45.     /**
  46.      * @ORM\Column(type="datetime", nullable=true)
  47.      */
  48.     private $updatedAt;
  49.     /** @ORM\PrePersist() */
  50.     public function prePersist(): void
  51.     {
  52.         $this->createdAt = new \DateTime();
  53.     }
  54.     /** @ORM\PreUpdate() */
  55.     public function preUpdate(): void
  56.     {
  57.         $this->updatedAt = new \DateTime();
  58.     }
  59.     public function getId(): ?int
  60.     {
  61.         return $this->id;
  62.     }
  63.     public function getRid(): ?string
  64.     {
  65.         return $this->rid;
  66.     }
  67.     public function setRid(string $rid): self
  68.     {
  69.         $this->rid $rid;
  70.         return $this;
  71.     }
  72.     public function getPhone(): ?string
  73.     {
  74.         return $this->phone;
  75.     }
  76.     public function setPhone(?string $phone): self
  77.     {
  78.         $this->phone $phone;
  79.         return $this;
  80.     }
  81.     public function getFirstName(): ?string
  82.     {
  83.         return $this->firstName;
  84.     }
  85.     public function setFirstName(?string $firstName): self
  86.     {
  87.         $this->firstName $firstName;
  88.         return $this;
  89.     }
  90.     public function getLastName(): ?string
  91.     {
  92.         return $this->lastName;
  93.     }
  94.     public function setLastName(?string $lastName): self
  95.     {
  96.         $this->lastName $lastName;
  97.         return $this;
  98.     }
  99.     public function getTeam(): ?string
  100.     {
  101.         return $this->team;
  102.     }
  103.     public function setTeam(?string $team): self
  104.     {
  105.         $this->team $team;
  106.         return $this;
  107.     }
  108.     public function getEmail(): ?string
  109.     {
  110.         return $this->email;
  111.     }
  112.     public function setEmail(?string $email): self
  113.     {
  114.         $this->email $email;
  115.         return $this;
  116.     }
  117.     public function getCreatedAt()
  118.     {
  119.         return $this->createdAt;
  120.     }
  121.     public function setCreatedAt($createdAt): static
  122.     {
  123.         $this->createdAt $createdAt;
  124.         return $this;
  125.     }
  126.     public function getUpdatedAt()
  127.     {
  128.         return $this->updatedAt;
  129.     }
  130.     public function setUpdatedAt($updatedAt): static
  131.     {
  132.         $this->updatedAt $updatedAt;
  133.         return $this;
  134.     }
  135. }