src/Entity/FreeWorld3D.php line 22

Open in your IDE?
  1. <?php
  2. /**
  3.  * Service class represents simple model of FreeWorld3D entity
  4.  *
  5.  * $Project: Alliancemarkets2 $
  6.  * $Id$
  7.  *
  8.  * @package alliancemarkets2
  9.  * @author George Matyas <webexciter@yahoo.com>
  10.  * @version $Revision$
  11.  */
  12. namespace App\Entity;
  13. use Doctrine\DBAL\Types\Types;
  14. use Doctrine\ORM\Mapping as ORM;
  15. /**
  16.  * @ORM\Entity(repositoryClass="App\EntityRepo\FreeWorld3DRepo")
  17.  * @ORM\Table(name="free_world_3d")
  18.  */
  19. class FreeWorld3D
  20. {
  21.     /**
  22.      * @ORM\Column(type="integer")
  23.      * @ORM\Id
  24.      * @ORM\GeneratedValue(strategy="AUTO")
  25.      */ 
  26.     protected $freeWorld3DId=0;
  27.     /**
  28.      * @ORM\Column(type="string", length=100)
  29.      */
  30.     protected $freeWorld3DName;
  31.     /**
  32.      * @ORM\Column(type="integer", length=100)
  33.      */    
  34.     protected $userId=0;
  35.     /**
  36.      * @ORM\Column(type="string", length=100, nullable=true)
  37.      */
  38.     protected $freeWorld3DDescription;    
  39.     /**
  40.      * @ORM\Column(type="text", nullable=true)
  41.      */
  42.     protected $freeWorld3DContent;     
  43.         
  44.     /**
  45.      * @ORM\Column(type="date", nullable=true)
  46.      */
  47.     protected $dateCreated;    
  48.     
  49.     /**
  50.      * @ORM\Column(type="string", length=255, nullable=true)
  51.      */
  52.     protected $xmlFile;  
  53.     
  54.     /**
  55.      * @ORM\Column(type="string", length=100, nullable=true)
  56.      */
  57.     protected $preferredPosition='0 0 0';    
  58.     
  59.     /**
  60.      * @ORM\Column(type="string", length=100, nullable=true)
  61.      */
  62.     protected $preferredRotation='0 0 0 0';     
  63.     /**
  64.      * @ORM\Column(type="string", length=100, nullable=true)
  65.      */
  66.     protected $preferredScale='0 0 0';      
  67.     /**
  68.      * @ORM\Column(type="integer", length=100, nullable=true)
  69.      */    
  70.     protected $gallery3DId=0;
  71.     public function getFreeWorld3DId(): ?int
  72.     {
  73.         return $this->freeWorld3DId;
  74.     }
  75.     public function getFreeWorld3DName(): ?string
  76.     {
  77.         return $this->freeWorld3DName;
  78.     }
  79.     public function setFreeWorld3DName(string $freeWorld3DName): static
  80.     {
  81.         $this->freeWorld3DName $freeWorld3DName;
  82.         return $this;
  83.     }
  84.     public function getUserId(): ?int
  85.     {
  86.         return $this->userId;
  87.     }
  88.     public function setUserId(int $userId): static
  89.     {
  90.         $this->userId $userId;
  91.         return $this;
  92.     }
  93.     public function getFreeWorld3DDescription(): ?string
  94.     {
  95.         return $this->freeWorld3DDescription;
  96.     }
  97.     public function setFreeWorld3DDescription(?string $freeWorld3DDescription): static
  98.     {
  99.         $this->freeWorld3DDescription $freeWorld3DDescription;
  100.         return $this;
  101.     }
  102.     public function getFreeWorld3DContent(): ?string
  103.     {
  104.         return $this->freeWorld3DContent;
  105.     }
  106.     public function setFreeWorld3DContent(?string $freeWorld3DContent): static
  107.     {
  108.         $this->freeWorld3DContent $freeWorld3DContent;
  109.         return $this;
  110.     }
  111.     public function getDateCreated(): ?\DateTimeInterface
  112.     {
  113.         return $this->dateCreated;
  114.     }
  115.     public function setDateCreated(?\DateTimeInterface $dateCreated): static
  116.     {
  117.         $this->dateCreated $dateCreated;
  118.         return $this;
  119.     }
  120.     public function getXmlFile(): ?string
  121.     {
  122.         return $this->xmlFile;
  123.     }
  124.     public function setXmlFile(?string $xmlFile): static
  125.     {
  126.         $this->xmlFile $xmlFile;
  127.         return $this;
  128.     }
  129.     public function getPreferredPosition(): ?string
  130.     {
  131.         return $this->preferredPosition;
  132.     }
  133.     public function setPreferredPosition(?string $preferredPosition): static
  134.     {
  135.         $this->preferredPosition $preferredPosition;
  136.         return $this;
  137.     }
  138.     public function getPreferredRotation(): ?string
  139.     {
  140.         return $this->preferredRotation;
  141.     }
  142.     public function setPreferredRotation(?string $preferredRotation): static
  143.     {
  144.         $this->preferredRotation $preferredRotation;
  145.         return $this;
  146.     }
  147.     public function getPreferredScale(): ?string
  148.     {
  149.         return $this->preferredScale;
  150.     }
  151.     public function setPreferredScale(?string $preferredScale): static
  152.     {
  153.         $this->preferredScale $preferredScale;
  154.         return $this;
  155.     }
  156.     public function getGallery3DId(): ?int
  157.     {
  158.         return $this->gallery3DId;
  159.     }
  160.     public function setGallery3DId(?int $gallery3DId): static
  161.     {
  162.         $this->gallery3DId $gallery3DId;
  163.         return $this;
  164.     }    
  165. }