src/Entity/ServiceExample.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\EntityRepo\ServiceExampleRepo")
  6.  * @ORM\Table(name="service_example")
  7.  */
  8. class ServiceExample
  9. {
  10.     /**
  11.      * @ORM\Column(type="integer")
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue(strategy="AUTO")
  14.      */ 
  15.     private $serviceExampleId=0;
  16.     /**
  17.      * @ORM\Column(type="string", length=100)
  18.      */
  19.     protected $serviceExampleName;
  20.     /**
  21.      * @ORM\Column(type="string", length=255, nullable=true)
  22.      */    
  23.     protected $serviceReference;    
  24.     /**
  25.      * @ORM\Column(type="string", length=255, nullable=true)
  26.      */    
  27.     protected $landingUrl
  28.     /**
  29.      * @ORM\Column(type="integer", nullable=true)
  30.      */ 
  31.     protected $serviceId;
  32.     /**
  33.      * @ORM\Column(type="string", length=255, nullable=true)
  34.      */    
  35.     protected $imageUrl;     
  36.     /**
  37.      * @ORM\Column(type="string", length=255, nullable=true)
  38.      */    
  39.     protected $landingUrl2 '';    
  40.     
  41.     /**
  42.      * @ORM\Column(type="string", length=255, nullable=true)
  43.      */    
  44.     protected $videoUrl '';
  45.     public function getServiceExampleId(): ?int
  46.     {
  47.         return $this->serviceExampleId;
  48.     }
  49.     public function getServiceExampleName(): ?string
  50.     {
  51.         return $this->serviceExampleName;
  52.     }
  53.     public function setServiceExampleName(string $serviceExampleName): static
  54.     {
  55.         $this->serviceExampleName $serviceExampleName;
  56.         return $this;
  57.     }
  58.     public function getServiceReference(): ?string
  59.     {
  60.         return $this->serviceReference;
  61.     }
  62.     public function setServiceReference(?string $serviceReference): static
  63.     {
  64.         $this->serviceReference $serviceReference;
  65.         return $this;
  66.     }
  67.     public function getLandingUrl(): ?string
  68.     {
  69.         return $this->landingUrl;
  70.     }
  71.     public function setLandingUrl(?string $landingUrl): static
  72.     {
  73.         $this->landingUrl $landingUrl;
  74.         return $this;
  75.     }
  76.     public function getServiceId(): ?int
  77.     {
  78.         return $this->serviceId;
  79.     }
  80.     public function setServiceId(?int $serviceId): static
  81.     {
  82.         $this->serviceId $serviceId;
  83.         return $this;
  84.     }
  85.     public function getImageUrl(): ?string
  86.     {
  87.         return $this->imageUrl;
  88.     }
  89.     public function setImageUrl(?string $imageUrl): static
  90.     {
  91.         $this->imageUrl $imageUrl;
  92.         return $this;
  93.     }
  94.     public function getLandingUrl2(): ?string
  95.     {
  96.         return $this->landingUrl2;
  97.     }
  98.     public function setLandingUrl2(?string $landingUrl2): static
  99.     {
  100.         $this->landingUrl2 $landingUrl2;
  101.         return $this;
  102.     }
  103.     public function getVideoUrl(): ?string
  104.     {
  105.         return $this->videoUrl;
  106.     }
  107.     public function setVideoUrl(?string $videoUrl): static
  108.     {
  109.         $this->videoUrl $videoUrl;
  110.         return $this;
  111.     }        
  112. }