vendor/uvdesk/core-framework/Entity/Website.php line 13

Open in your IDE?
  1. <?php
  2. namespace Webkul\UVDesk\CoreFrameworkBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * website
  6.  * @ORM\Entity(repositoryClass=null)
  7.  * @ORM\HasLifecycleCallbacks()
  8.  * @ORM\Table(name="uv_website")
  9.  */
  10. class Website
  11. {
  12.     /**
  13.      * @var int
  14.      * @ORM\Id()
  15.      * @ORM\Column(type="integer")
  16.      * @ORM\GeneratedValue(strategy="AUTO")
  17.      */
  18.     private $id;
  19.     /**
  20.      * @var string
  21.      * @ORM\Column(type="string", length=191)
  22.      */
  23.     private $name;
  24.     /**
  25.      * @var bool
  26.      * @ORM\Column(type="boolean", nullable=true, options={"default": false})
  27.      */
  28.     private $displayUserPresenceIndicator;
  29.     /**
  30.      * @var string
  31.      * @ORM\Column(type="string", length=191, unique=true)
  32.      */
  33.     private $code;
  34.     /**
  35.      * @var string
  36.      * @ORM\Column(type="string", length=191, nullable=true)
  37.      */
  38.     private $logo;
  39.     /**
  40.      * @var string
  41.      * @ORM\Column(type="string", length=191)
  42.      */
  43.     private $themeColor;
  44.     /**
  45.      * @var string
  46.      * @ORM\Column(type="string", length=191, nullable=true)
  47.      */
  48.     private $favicon;
  49.     /**
  50.      * @var \DateTime
  51.      * @ORM\Column(type="datetime")
  52.      */
  53.     private $createdAt;
  54.     /**
  55.      * @var \DateTime
  56.      * @ORM\Column(type="datetime")
  57.      */
  58.     private $updatedAt;
  59.     /**
  60.      * @var bool
  61.      * @ORM\Column(type="boolean", nullable=true, options={"default": true})
  62.      */
  63.     private $isActive;
  64.     /**
  65.      * @ORM\Column(type="string", length=191, nullable=true)
  66.      */
  67.     private $timezone;
  68.     /**
  69.      * @ORM\Column(type="string", length=191, nullable=true)
  70.      */
  71.     private $webhookUrl;
  72.     /**
  73.      * @ORM\Column(type="string", length=191, nullable=true)
  74.      */
  75.     private $timeformat;
  76.     /**
  77.      * @ORM\Column(type="array", nullable=true)
  78.      */
  79.     private $businessHour;
  80.     /**
  81.      * @var bool
  82.      * @ORM\Column(type="boolean", nullable=true, options={"default": true})
  83.      */
  84.     private $businessHourStatus;
  85.     /**
  86.      * Set webhookUrl.
  87.      *
  88.      * @param string $webhookUrl
  89.      *
  90.      * @return Website
  91.      */
  92.     public function setWebhookUrl($webhookUrl)
  93.     {
  94.         $this->webhookUrl $webhookUrl;
  95.         return $this;
  96.     }
  97.     /**
  98.      * Get webhookUrl.
  99.      *
  100.      * @return string
  101.      */
  102.     public function getWebhookUrl()
  103.     {
  104.         return $this->webhookUrl;
  105.     }
  106.     /**
  107.      * Get business hour
  108.      */
  109.     public function getBusinessHour() {
  110.         return $this->businessHour;
  111.     }
  112.     /**
  113.      * Set business hour
  114.      */
  115.     public function setBusinessHour($businessHour) {
  116.         $this->businessHour $businessHour;
  117.     }
  118.     /**
  119.      * Get business hour status
  120.      */
  121.     public function getBusinessHourStatus() {
  122.         return $this->businessHourStatus;
  123.     }
  124.     /**
  125.      * Set business hour status
  126.      */
  127.     public function setBusinessHourStatus($businessHourStatus) {
  128.         $this->businessHourStatus $businessHourStatus;
  129.     }
  130.     /**
  131.      * Get id
  132.      *
  133.      * @return int
  134.      */
  135.     public function getId()
  136.     {
  137.         return $this->id;
  138.     }
  139.     /**
  140.      * Set name
  141.      *
  142.      * @param string $name
  143.      *
  144.      * @return website
  145.      */
  146.     public function setName($name)
  147.     {
  148.         $this->name $name;
  149.         return $this;
  150.     }
  151.     /**
  152.      * Get name
  153.      *
  154.      * @return string
  155.      */
  156.     public function getName()
  157.     {
  158.         return $this->name;
  159.     }
  160.     /**
  161.      * Set code
  162.      *
  163.      * @param string $code
  164.      *
  165.      * @return website
  166.      */
  167.     public function setCode($code)
  168.     {
  169.         $this->code $code;
  170.         return $this;
  171.     }
  172.     /**
  173.      * Get code
  174.      *
  175.      * @return string
  176.      */
  177.     public function getCode()
  178.     {
  179.         return $this->code;
  180.     }
  181.     /**
  182.      * Set logo
  183.      *
  184.      * @param string $logo
  185.      *
  186.      * @return website
  187.      */
  188.     public function setLogo($logo)
  189.     {
  190.         $this->logo $logo;
  191.         return $this;
  192.     }
  193.     /**
  194.      * Get logo
  195.      *
  196.      * @return string
  197.      */
  198.     public function getLogo()
  199.     {
  200.         return $this->logo;
  201.     }
  202.         /**
  203.      * Set themeColor
  204.      *
  205.      * @param string $themeColor
  206.      *
  207.      * @return website
  208.      */
  209.     public function setThemeColor($themeColor)
  210.     {
  211.         $this->themeColor $themeColor;
  212.         return $this;
  213.     }
  214.     /**
  215.      * Get themeColor
  216.      *
  217.      * @return string
  218.      */
  219.     public function getThemeColor()
  220.     {
  221.         return $this->themeColor;
  222.     }
  223.     /**
  224.      * Set favicon
  225.      *
  226.      * @param string $favicon
  227.      *
  228.      * @return website
  229.      */
  230.     public function setFavicon($favicon)
  231.     {
  232.         $this->favicon $favicon;
  233.         return $this;
  234.     }
  235.     /**
  236.      * Get favicon
  237.      *
  238.      * @return string
  239.      */
  240.     public function getFavicon()
  241.     {
  242.         return $this->favicon;
  243.     }
  244.     /**
  245.      * Set DisplayUserPresenceIndicator
  246.      *
  247.      * @param string $displayUserPresenceIndicator
  248.      *
  249.      * @return website
  250.      */
  251.     public function setDisplayUserPresenceIndicator($displayUserPresenceIndicator)
  252.     {
  253.         $this->displayUserPresenceIndicator $displayUserPresenceIndicator;
  254.         return $this;
  255.     }
  256.     /**
  257.      * Get DisplayUserPresenceIndicator
  258.      *
  259.      * @return string
  260.      */
  261.     public function getDisplayUserPresenceIndicator()
  262.     {
  263.         return $this->displayUserPresenceIndicator;
  264.     }
  265.     /**
  266.      * Set createdAt
  267.      *
  268.      * @param \DateTime $createdAt
  269.      *
  270.      * @return website
  271.      */
  272.     public function setCreatedAt($createdAt)
  273.     {
  274.         $this->createdAt $createdAt;
  275.         return $this;
  276.     }
  277.     /**
  278.      * Get createdAt
  279.      *
  280.      * @return \DateTime
  281.      */
  282.     public function getCreatedAt()
  283.     {
  284.         return $this->createdAt;
  285.     }
  286.     /**
  287.      * Set updatedAt
  288.      *
  289.      * @param \DateTime $updatedAt
  290.      *
  291.      * @return website
  292.      */
  293.     public function setUpdatedAt($updatedAt)
  294.     {
  295.         $this->updatedAt $updatedAt;
  296.         return $this;
  297.     }
  298.     /**
  299.      * Get updatedAt
  300.      *
  301.      * @return \DateTime
  302.      */
  303.     public function getUpdatedAt()
  304.     {
  305.         return $this->updatedAt;
  306.     }
  307.     /**
  308.      * Set isActive
  309.      *
  310.      * @param boolean $isActive
  311.      *
  312.      * @return website
  313.      */
  314.     public function setIsActive($isActive)
  315.     {
  316.         $this->isActive $isActive;
  317.         return $this;
  318.     }
  319.     /**
  320.      * Get isActive
  321.      *
  322.      * @return bool
  323.      */
  324.     public function getIsActive()
  325.     {
  326.         return $this->isActive;
  327.     }
  328.     public function getTimezone(): ?string
  329.     {
  330.         return $this->timezone;
  331.     }
  332.     public function setTimezone(?string $timezone): self
  333.     {
  334.         $this->timezone $timezone;
  335.         return $this;
  336.     }
  337.     public function getTimeformat(): ?string
  338.     {
  339.         return $this->timeformat;
  340.     }
  341.     public function setTimeformat(?string $timeformat): self
  342.     {
  343.         $this->timeformat $timeformat;
  344.         return $this;
  345.     }
  346. }