<?php
/**
* Service class represents simple model of FreeWorld3D entity
*
* $Project: Alliancemarkets2 $
* $Id$
*
* @package alliancemarkets2
* @author George Matyas <webexciter@yahoo.com>
* @version $Revision$
*/
namespace App\Entity;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\EntityRepo\FreeWorld3DRepo")
* @ORM\Table(name="free_world_3d")
*/
class FreeWorld3D
{
/**
* @ORM\Column(type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $freeWorld3DId=0;
/**
* @ORM\Column(type="string", length=100)
*/
protected $freeWorld3DName;
/**
* @ORM\Column(type="integer", length=100)
*/
protected $userId=0;
/**
* @ORM\Column(type="string", length=100, nullable=true)
*/
protected $freeWorld3DDescription;
/**
* @ORM\Column(type="text", nullable=true)
*/
protected $freeWorld3DContent;
/**
* @ORM\Column(type="date", nullable=true)
*/
protected $dateCreated;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
protected $xmlFile;
/**
* @ORM\Column(type="string", length=100, nullable=true)
*/
protected $preferredPosition='0 0 0';
/**
* @ORM\Column(type="string", length=100, nullable=true)
*/
protected $preferredRotation='0 0 0 0';
/**
* @ORM\Column(type="string", length=100, nullable=true)
*/
protected $preferredScale='0 0 0';
/**
* @ORM\Column(type="integer", length=100, nullable=true)
*/
protected $gallery3DId=0;
public function getFreeWorld3DId(): ?int
{
return $this->freeWorld3DId;
}
public function getFreeWorld3DName(): ?string
{
return $this->freeWorld3DName;
}
public function setFreeWorld3DName(string $freeWorld3DName): static
{
$this->freeWorld3DName = $freeWorld3DName;
return $this;
}
public function getUserId(): ?int
{
return $this->userId;
}
public function setUserId(int $userId): static
{
$this->userId = $userId;
return $this;
}
public function getFreeWorld3DDescription(): ?string
{
return $this->freeWorld3DDescription;
}
public function setFreeWorld3DDescription(?string $freeWorld3DDescription): static
{
$this->freeWorld3DDescription = $freeWorld3DDescription;
return $this;
}
public function getFreeWorld3DContent(): ?string
{
return $this->freeWorld3DContent;
}
public function setFreeWorld3DContent(?string $freeWorld3DContent): static
{
$this->freeWorld3DContent = $freeWorld3DContent;
return $this;
}
public function getDateCreated(): ?\DateTimeInterface
{
return $this->dateCreated;
}
public function setDateCreated(?\DateTimeInterface $dateCreated): static
{
$this->dateCreated = $dateCreated;
return $this;
}
public function getXmlFile(): ?string
{
return $this->xmlFile;
}
public function setXmlFile(?string $xmlFile): static
{
$this->xmlFile = $xmlFile;
return $this;
}
public function getPreferredPosition(): ?string
{
return $this->preferredPosition;
}
public function setPreferredPosition(?string $preferredPosition): static
{
$this->preferredPosition = $preferredPosition;
return $this;
}
public function getPreferredRotation(): ?string
{
return $this->preferredRotation;
}
public function setPreferredRotation(?string $preferredRotation): static
{
$this->preferredRotation = $preferredRotation;
return $this;
}
public function getPreferredScale(): ?string
{
return $this->preferredScale;
}
public function setPreferredScale(?string $preferredScale): static
{
$this->preferredScale = $preferredScale;
return $this;
}
public function getGallery3DId(): ?int
{
return $this->gallery3DId;
}
public function setGallery3DId(?int $gallery3DId): static
{
$this->gallery3DId = $gallery3DId;
return $this;
}
}