src/Entity/Sitewide.php line 15

Open in your IDE?
  1. <?php
  2. // src//App/Entity/Sitewide.php
  3. namespace App\Entity;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Gedmo\Mapping\Annotation as Gedmo;
  6. use App\Entity\User as User;
  7. /**
  8.  * Sitewide
  9.  *
  10.  * @ORM\Table()
  11.  * @ORM\Entity(repositoryClass="App\Repository\SitewideRepository")
  12.  */
  13. class Sitewide
  14. {
  15.     /**
  16.      * @var integer
  17.      *
  18.      * @ORM\Column(name="id", type="integer")
  19.      * @ORM\Id
  20.      * @ORM\GeneratedValue(strategy="AUTO")
  21.      */
  22.     private $id;
  23.     /**
  24.      * @var string
  25.      *
  26.      * @ORM\Column(name="orgName", type="string", length=255, nullable=true)
  27.      */
  28.     private $orgName;
  29.     /**
  30.      * @var string
  31.      *
  32.      * @ORM\Column(name="companyRegNumber", type="string", length=100, nullable=true)
  33.      */
  34.     private $companyRegNumber;
  35.     /**
  36.      * @var string
  37.      *
  38.      * @ORM\Column(name="companyVatNumber", type="string", length=100, nullable=true)
  39.      */
  40.     private $companyVatNumber;
  41.     /**
  42.      * @var string
  43.      *
  44.      * @ORM\Column(name="logoFilename", type="string", length=255, nullable=true)
  45.      */
  46.     private $logoFilename;
  47.     /**
  48.      * @var string
  49.      *
  50.      * @ORM\Column(name="genEmail", type="string", length=255, nullable=true)
  51.      */
  52.     private $genEmail;
  53.     /**
  54.      * @var string
  55.      *
  56.      * @ORM\Column(name="genPhoneNumber", type="string", length=255, nullable=true)
  57.      */
  58.     private $genPhoneNumber;
  59.     /**
  60.      * @var string
  61.      *
  62.      * @ORM\Column(name="salesEmail", type="string", length=255, nullable=true)
  63.      */
  64.     private $salesEmail;
  65.     /**
  66.      * @var string
  67.      *
  68.      * @ORM\Column(name="salesPhoneNumber", type="string", length=255, nullable=true)
  69.      */
  70.     private $salesPhoneNumber;
  71.     /**
  72.      * @var string
  73.      *
  74.      * @ORM\Column(name="twitterLink", type="string", length=255, nullable=true)
  75.      */
  76.     private $twitterLink;
  77.     /**
  78.      * @var string
  79.      *
  80.      * @ORM\Column(name="facebookLink", type="string", length=255, nullable=true)
  81.      */
  82.     private $facebookLink;
  83.     /**
  84.      * @var string
  85.      *
  86.      * @ORM\Column(name="googlePlusLink", type="string", length=255, nullable=true)
  87.      */
  88.     private $googlePlusLink;
  89.     /**
  90.      * @var string
  91.      *
  92.      * @ORM\Column(name="linkedinLink", type="string", length=255, nullable=true)
  93.      */
  94.     private $linkedinLink;
  95.     /**
  96.      * @var string
  97.      *
  98.      * @ORM\Column(name="googleMapsAPIKey", type="string", length=255, nullable=true)
  99.      */
  100.     private $googleMapsAPIKey;
  101.     /**
  102.      * @var string
  103.      *
  104.      * @ORM\Column(name="googleAnalyticsCode", type="string", length=255, nullable=true)
  105.      */
  106.     private $googleAnalyticsCode;
  107.     /**
  108.      * @var string
  109.      *
  110.      * @ORM\Column(name="twitterAPIKey", type="string", length=255, nullable=true)
  111.      */
  112.     private $twitterAPIKey;
  113.     /**
  114.      * @var string
  115.      *
  116.      * @ORM\Column(name="crmAPIKey", type="string", length=255, nullable=true)
  117.      */
  118.     private $crmAPIKey;
  119.     /**
  120.      * @ORM\ManyToOne(targetEntity="Features")
  121.      * @ORM\JoinColumn(name="feature1_id", referencedColumnName="id")
  122.      **/
  123.     private $feature1;
  124.     /**
  125.      * @ORM\ManyToOne(targetEntity="Features")
  126.      * @ORM\JoinColumn(name="feature2_id", referencedColumnName="id")
  127.      **/
  128.     private $feature2;
  129.     /**
  130.      * @ORM\ManyToOne(targetEntity="Features")
  131.      * @ORM\JoinColumn(name="feature3_id", referencedColumnName="id")
  132.      **/
  133.     private $feature3;
  134.     /**
  135.      * @Gedmo\Timestampable(on="create")
  136.      * @ORM\Column(type="datetime")
  137.      */
  138.     private $created;
  139.     /**
  140.      * @Gedmo\Timestampable(on="update")
  141.      * @ORM\Column(type="datetime")
  142.      */
  143.     private $updated;
  144.     /**
  145.      * @var User $createdBy
  146.      *
  147.      * @Gedmo\Blameable(on="create")
  148.      * @ORM\ManyToOne(targetEntity="User")
  149.      * @ORM\JoinColumn(name="created_by", referencedColumnName="id")
  150.      */
  151.     private $createdBy;
  152.     /**
  153.      * @var User $updatedBy
  154.      *
  155.      * @Gedmo\Blameable(on="update")
  156.      * @ORM\ManyToOne(targetEntity="User")
  157.      * @ORM\JoinColumn(name="updated_by", referencedColumnName="id")
  158.      */
  159.     private $updatedBy;
  160.     /**
  161.      * Get id
  162.      *
  163.      * @return integer
  164.      */
  165.     public function getId()
  166.     {
  167.         return $this->id;
  168.     }
  169.     /**
  170.      * Set orgName
  171.      *
  172.      * @param string $orgName
  173.      * @return Sitewide
  174.      */
  175.     public function setOrgName($orgName)
  176.     {
  177.         $this->orgName $orgName;
  178.         return $this;
  179.     }
  180.     /**
  181.      * Get orgName
  182.      *
  183.      * @return string
  184.      */
  185.     public function getOrgName()
  186.     {
  187.         return $this->orgName;
  188.     }
  189.     /**
  190.      * Set logoFilename
  191.      *
  192.      * @param string $logoFilename
  193.      * @return Sitewide
  194.      */
  195.     public function setLogoFilename($logoFilename)
  196.     {
  197.         $this->logoFilename $logoFilename;
  198.         return $this;
  199.     }
  200.     /**
  201.      * Get logoFilename
  202.      *
  203.      * @return string
  204.      */
  205.     public function getLogoFilename()
  206.     {
  207.         return $this->logoFilename;
  208.     }
  209.     /**
  210.      * Get genEmail
  211.      *
  212.      * @return string
  213.      */
  214.     public function getGenEmail()
  215.     {
  216.         return $this->genEmail;
  217.     }
  218.     /**
  219.      * Set genEmail
  220.      *
  221.      * @param string $genEmail
  222.      * @return Sitewide
  223.      */
  224.     public function setGenEmail($genEmail)
  225.     {
  226.         $this->genEmail $genEmail;
  227.         return $this;
  228.     }
  229.     /**
  230.      * Get salesEmail
  231.      *
  232.      * @return string
  233.      */
  234.     public function getSalesEmail()
  235.     {
  236.         return $this->salesEmail;
  237.     }
  238.     /**
  239.      * Set salesEmail
  240.      *
  241.      * @param string $salesEmail
  242.      * @return Sitewide
  243.      */
  244.     public function setSalesEmail($salesEmail)
  245.     {
  246.         $this->salesEmail $salesEmail;
  247.         return $this;
  248.     }
  249.     /**
  250.      * Set genPhoneNumber
  251.      *
  252.      * @param string $genPhoneNumber
  253.      * @return Sitewide
  254.      */
  255.     public function setGenPhoneNumber($genPhoneNumber)
  256.     {
  257.         $this->genPhoneNumber $genPhoneNumber;
  258.         return $this;
  259.     }
  260.     /**
  261.      * Get genPhoneNumber
  262.      *
  263.      * @return string
  264.      */
  265.     public function getGenPhoneNumber()
  266.     {
  267.         return $this->genPhoneNumber;
  268.     }
  269.     /**
  270.      * Set salesPhoneNumber
  271.      *
  272.      * @param string $salesPhoneNumber
  273.      * @return Sitewide
  274.      */
  275.     public function setSalessPhoneNumber($salesPhoneNumber)
  276.     {
  277.         $this->salesPhoneNumber $salesPhoneNumber;
  278.         return $this;
  279.     }
  280.     /**
  281.      * Get salesPhoneNumber
  282.      *
  283.      * @return string
  284.      */
  285.     public function getSalesPhoneNumber()
  286.     {
  287.         return $this->salesPhoneNumber;
  288.     }
  289.     /**
  290.      * Set twitter
  291.      *
  292.      * @param string $twitter
  293.      * @return Sitewide
  294.      */
  295.     public function setTwitter($twitter)
  296.     {
  297.         $this->twitter $twitter;
  298.         return $this;
  299.     }
  300.     /**
  301.      * Get twitter
  302.      *
  303.      * @return string
  304.      */
  305.     public function getTwitter()
  306.     {
  307.         return $this->twitter;
  308.     }
  309.     /**
  310.      * Set facebook
  311.      *
  312.      * @param string $facebook
  313.      * @return Sitewide
  314.      */
  315.     public function setFacebook($facebook)
  316.     {
  317.         $this->facebook $facebook;
  318.         return $this;
  319.     }
  320.     /**
  321.      * Get facebook
  322.      *
  323.      * @return string
  324.      */
  325.     public function getFacebook()
  326.     {
  327.         return $this->facebook;
  328.     }
  329.     /**
  330.      * Set googlePlus
  331.      *
  332.      * @param string $googlePlus
  333.      * @return Sitewide
  334.      */
  335.     public function setGooglePlus($googlePlus)
  336.     {
  337.         $this->googlePlus $googlePlus;
  338.         return $this;
  339.     }
  340.     /**
  341.      * Get googlePlus
  342.      *
  343.      * @return string
  344.      */
  345.     public function getGooglePlus()
  346.     {
  347.         return $this->googlePlus;
  348.     }
  349.     /**
  350.      * Set twitterLink
  351.      *
  352.      * @param string $twitterLink
  353.      * @return Sitewide
  354.      */
  355.     public function setTwitterLink($twitterLink)
  356.     {
  357.         $this->twitterLink $twitterLink;
  358.         return $this;
  359.     }
  360.     /**
  361.      * Get twitterLink
  362.      *
  363.      * @return string
  364.      */
  365.     public function getTwitterLink()
  366.     {
  367.         return $this->twitterLink;
  368.     }
  369.     /**
  370.      * Set facebookLink
  371.      *
  372.      * @param string $facebookLink
  373.      * @return Sitewide
  374.      */
  375.     public function setFacebookLink($facebookLink)
  376.     {
  377.         $this->facebookLink $facebookLink;
  378.         return $this;
  379.     }
  380.     /**
  381.      * Get facebookLink
  382.      *
  383.      * @return string
  384.      */
  385.     public function getFacebookLink()
  386.     {
  387.         return $this->facebookLink;
  388.     }
  389.     /**
  390.      * Set googlePlusLink
  391.      *
  392.      * @param string $googlePlusLink
  393.      * @return Sitewide
  394.      */
  395.     public function setGooglePlusLink($googlePlusLink)
  396.     {
  397.         $this->googlePlusLink $googlePlusLink;
  398.         return $this;
  399.     }
  400.     /**
  401.      * Get googlePlusLink
  402.      *
  403.      * @return string
  404.      */
  405.     public function getGooglePlusLink()
  406.     {
  407.         return $this->googlePlusLink;
  408.     }
  409.     /**
  410.      * Set googleMapsAPIKey
  411.      *
  412.      * @param string $googleMapsAPIKey
  413.      * @return Sitewide
  414.      */
  415.     public function setGoogleMapsAPIKey($googleMapsAPIKey)
  416.     {
  417.         $this->googleMapsAPIKey $googleMapsAPIKey;
  418.         return $this;
  419.     }
  420.     /**
  421.      * Get googleMapsAPIKey
  422.      *
  423.      * @return string
  424.      */
  425.     public function getGoogleMapsAPIKey()
  426.     {
  427.         return $this->googleMapsAPIKey;
  428.     }
  429.     /**
  430.      * Set googleAnalyticsCode
  431.      *
  432.      * @param string $googleAnalyticsCode
  433.      * @return Sitewide
  434.      */
  435.     public function setGoogleAnalyticsCode($googleAnalyticsCode)
  436.     {
  437.         $this->googleAnalyticsCode $googleAnalyticsCode;
  438.         return $this;
  439.     }
  440.     /**
  441.      * Get googleAnalyticsCode
  442.      *
  443.      * @return string
  444.      */
  445.     public function getGoogleAnalyticsCode()
  446.     {
  447.         return $this->googleAnalyticsCode;
  448.     }
  449.     /**
  450.      * Set twitterAPIKey
  451.      *
  452.      * @param string $twitterAPIKey
  453.      * @return Sitewide
  454.      */
  455.     public function setTwitterAPIKey($twitterAPIKey)
  456.     {
  457.         $this->twitterAPIKey $twitterAPIKey;
  458.         return $this;
  459.     }
  460.     /**
  461.      * Get twitterAPIKey
  462.      *
  463.      * @return string
  464.      */
  465.     public function getTwitterAPIKey()
  466.     {
  467.         return $this->twitterAPIKey;
  468.     }
  469.     /**
  470.      * Set feature1
  471.      *
  472.      * @param \App\Entity\Features $feature1
  473.      *
  474.      * @return Sitewide
  475.      */
  476.     public function setFeature1(\App\Entity\Features $feature1 null)
  477.     {
  478.         $this->feature1 $feature1;
  479.         return $this;
  480.     }
  481.     /**
  482.      * Get feature1
  483.      *
  484.      * @return \App\Entity\Features
  485.      */
  486.     public function getFeature1()
  487.     {
  488.         return $this->feature1;
  489.     }
  490.     /**
  491.      * Set feature2
  492.      *
  493.      * @param \App\Entity\Features $feature2
  494.      *
  495.      * @return Sitewide
  496.      */
  497.     public function setFeature2(\App\Entity\Features $feature2 null)
  498.     {
  499.         $this->feature2 $feature2;
  500.         return $this;
  501.     }
  502.     /**
  503.      * Get feature2
  504.      *
  505.      * @return \App\Entity\Features
  506.      */
  507.     public function getFeature2()
  508.     {
  509.         return $this->feature2;
  510.     }
  511.     /**
  512.      * Set feature3
  513.      *
  514.      * @param \App\Entity\Features $feature3
  515.      *
  516.      * @return Sitewide
  517.      */
  518.     public function setFeature3(\App\Entity\Features $feature3 null)
  519.     {
  520.         $this->feature3 $feature3;
  521.         return $this;
  522.     }
  523.     /**
  524.      * Get feature3
  525.      *
  526.      * @return \App\Entity\Features
  527.      */
  528.     public function getFeature3()
  529.     {
  530.         return $this->feature3;
  531.     }
  532.     /**
  533.      * Set created
  534.      *
  535.      * @param \DateTime $created
  536.      * @return Sitewide
  537.      */
  538.     public function setCreated($created)
  539.     {
  540.         $this->created $created;
  541.         return $this;
  542.     }
  543.     /**
  544.      * Get created
  545.      *
  546.      * @return \DateTime
  547.      */
  548.     public function getCreated()
  549.     {
  550.         return $this->created;
  551.     }
  552.     /**
  553.      * Set updated
  554.      *
  555.      * @param \DateTime $updated
  556.      * @return Sitewide
  557.      */
  558.     public function setUpdated($updated)
  559.     {
  560.         $this->updated $updated;
  561.         return $this;
  562.     }
  563.     /**
  564.      * Get updated
  565.      *
  566.      * @return \DateTime
  567.      */
  568.     public function getUpdated()
  569.     {
  570.         return $this->updated;
  571.     }
  572.     /**
  573.      * Get createdBy
  574.      *
  575.      * @return \App\Entity\User
  576.      */
  577.     public function getCreatedBy()
  578.     {
  579.         return $this->createdBy;
  580.     }
  581.     /**
  582.      * Get updatedBy
  583.      *
  584.      * @return \App\Entity\User
  585.      */
  586.     public function getUpdatedBy()
  587.     {
  588.         return $this->updatedBy;
  589.     }
  590.     /**
  591.      * Set createdBy
  592.      *
  593.      * @param \App\Entity\User $createdBy
  594.      *
  595.      * @return Sitewide
  596.      */
  597.     public function setCreatedBy(\App\Entity\User $createdBy null)
  598.     {
  599.         $this->createdBy $createdBy;
  600.         return $this;
  601.     }
  602.     /**
  603.      * Set updatedBy
  604.      *
  605.      * @param \App\Entity\User $updatedBy
  606.      *
  607.      * @return Sitewide
  608.      */
  609.     public function setUpdatedBy(\App\Entity\User $updatedBy null)
  610.     {
  611.         $this->updatedBy $updatedBy;
  612.         return $this;
  613.     }
  614.     /**
  615.      * Set salesPhoneNumber
  616.      *
  617.      * @param string $salesPhoneNumber
  618.      * @return Sitewide
  619.      */
  620.     public function setSalesPhoneNumber($salesPhoneNumber)
  621.     {
  622.         $this->salesPhoneNumber $salesPhoneNumber;
  623.         return $this;
  624.     }
  625.     /**
  626.      * Set crmAPIKey
  627.      *
  628.      * @param string $crmAPIKey
  629.      * @return Sitewide
  630.      */
  631.     public function setCrmAPIKey($crmAPIKey)
  632.     {
  633.         $this->crmAPIKey $crmAPIKey;
  634.         return $this;
  635.     }
  636.     /**
  637.      * Get crmAPIKey
  638.      *
  639.      * @return string
  640.      */
  641.     public function getCrmAPIKey()
  642.     {
  643.         return $this->crmAPIKey;
  644.     }
  645.     /**
  646.      * Set companyRegNumber
  647.      *
  648.      * @param string $companyRegNumber
  649.      * @return Sitewide
  650.      */
  651.     public function setCompanyRegNumber($companyRegNumber)
  652.     {
  653.         $this->companyRegNumber $companyRegNumber;
  654.         return $this;
  655.     }
  656.     /**
  657.      * Get companyRegNumber
  658.      *
  659.      * @return string
  660.      */
  661.     public function getCompanyRegNumber()
  662.     {
  663.         return $this->companyRegNumber;
  664.     }
  665.     /**
  666.      * Set companyVatNumber
  667.      *
  668.      * @param string $companyVatNumber
  669.      * @return Sitewide
  670.      */
  671.     public function setCompanyVatNumber($companyVatNumber)
  672.     {
  673.         $this->companyVatNumber $companyVatNumber;
  674.         return $this;
  675.     }
  676.     /**
  677.      * Get companyVatNumber
  678.      *
  679.      * @return string
  680.      */
  681.     public function getCompanyVatNumber()
  682.     {
  683.         return $this->companyVatNumber;
  684.     }
  685.     /**
  686.      * Set linkedinLink
  687.      *
  688.      * @param string $linkedinLink
  689.      * @return Sitewide
  690.      */
  691.     public function setLinkedinLink($linkedinLink)
  692.     {
  693.         $this->linkedinLink $linkedinLink;
  694.         return $this;
  695.     }
  696.     /**
  697.      * Get linkedinLink
  698.      *
  699.      * @return string
  700.      */
  701.     public function getLinkedinLink()
  702.     {
  703.         return $this->linkedinLink;
  704.     }
  705. }