src/App/Entity/System/Twilio/TwilioConfigs/Infos/TwilioContactEmbeddable.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\System\Twilio\TwilioConfigs\Infos;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Class TwilioContactEmbeddable
  6.  * @package App\Entity\System\Twilio\TwilioConfigs\Infos
  7.  *
  8.  * @ORM\Embeddable()
  9.  */
  10. class TwilioContactEmbeddable extends AbstractTwilioInfoEmbeddable
  11. {
  12.     const POSITIONS = [
  13.         self::POSITIONS__DIRECTOR,
  14.         self::POSITIONS__GM,
  15.         self::POSITIONS__VP,
  16.         self::POSITIONS__CEO,
  17.         self::POSITIONS__CFO,
  18.         self::POSITIONS__GENERAL_COUNSEL,
  19.         self::POSITIONS__OTHER,
  20.     ];
  21.     const POSITIONS__DIRECTOR 'Director';
  22.     const POSITIONS__GM 'GM';
  23.     const POSITIONS__VP 'VP';
  24.     const POSITIONS__CEO 'CEO';
  25.     const POSITIONS__CFO 'CFO';
  26.     const POSITIONS__GENERAL_COUNSEL 'General Counsel';
  27.     const POSITIONS__OTHER 'Other';
  28.     /**
  29.      * @var string|null
  30.      *
  31.      * @ORM\Column(
  32.      *     type = "string",
  33.      *     nullable = true,
  34.      * )
  35.      */
  36.     protected ?string $firstName;
  37.     /**
  38.      * @var string|null
  39.      *
  40.      * @ORM\Column(
  41.      *     type = "string",
  42.      *     nullable = true,
  43.      * )
  44.      */
  45.     protected ?string $lastName;
  46.     /**
  47.      * @var string|null
  48.      *
  49.      * @ORM\Column(
  50.      *     type = "string",
  51.      *     nullable = true,
  52.      * )
  53.      */
  54.     protected ?string $email;
  55.     /**
  56.      * @var string|null
  57.      *
  58.      * @ORM\Column(
  59.      *     type = "string",
  60.      *     nullable = true,
  61.      * )
  62.      */
  63.     protected ?string $phone;
  64.     /**
  65.      * @var string|null
  66.      *
  67.      * @ORM\Column(
  68.      *     type = "string",
  69.      *     nullable = true,
  70.      * )
  71.      */
  72.     protected ?string $title;
  73.     /**
  74.      * @var string|null
  75.      *
  76.      * @ORM\Column(
  77.      *     type = "string",
  78.      *     nullable = true,
  79.      * )
  80.      */
  81.     protected ?string $position;
  82.     /**
  83.      * @return string|null
  84.      */
  85.     public function getFirstName(): ?string
  86.     {
  87.         return $this->firstName;
  88.     }
  89.     /**
  90.      * @param string|null $firstName
  91.      * @return $this
  92.      */
  93.     public function setFirstName(?string $firstName): self
  94.     {
  95.         $this->firstName $firstName;
  96.         return $this;
  97.     }
  98.     /**
  99.      * @return string|null
  100.      */
  101.     public function getLastName(): ?string
  102.     {
  103.         return $this->lastName;
  104.     }
  105.     /**
  106.      * @param string|null $lastName
  107.      * @return $this
  108.      */
  109.     public function setLastName(?string $lastName): self
  110.     {
  111.         $this->lastName $lastName;
  112.         return $this;
  113.     }
  114.     /**
  115.      * @return string|null
  116.      */
  117.     public function getEmail(): ?string
  118.     {
  119.         return $this->email;
  120.     }
  121.     /**
  122.      * @param string|null $email
  123.      * @return $this
  124.      */
  125.     public function setEmail(?string $email): self
  126.     {
  127.         $this->email $email;
  128.         return $this;
  129.     }
  130.     /**
  131.      * @return string|null
  132.      */
  133.     public function getPhone(): ?string
  134.     {
  135.         return $this->phone;
  136.     }
  137.     /**
  138.      * @param string|null $phone
  139.      * @return $this
  140.      */
  141.     public function setPhone(?string $phone): self
  142.     {
  143.         $this->phone $phone;
  144.         return $this;
  145.     }
  146.     /**
  147.      * @return string|null
  148.      */
  149.     public function getTitle(): ?string
  150.     {
  151.         return $this->title;
  152.     }
  153.     /**
  154.      * @param string|null $title
  155.      * @return $this
  156.      */
  157.     public function setTitle(?string $title): self
  158.     {
  159.         $this->title $title;
  160.         return $this;
  161.     }
  162.     /**
  163.      * @return string|null
  164.      */
  165.     public function getPosition(): ?string
  166.     {
  167.         return $this->position;
  168.     }
  169.     /**
  170.      * @param string|null $position
  171.      * @return $this
  172.      */
  173.     public function setPosition(?string $position): self
  174.     {
  175.         $this->position $position;
  176.         return $this;
  177.     }
  178. }