159 lines
2.7 KiB
PHP
159 lines
2.7 KiB
PHP
<?php
|
|
|
|
namespace App\Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* @ORM\Entity
|
|
* @ORM\Table(name="pagewidgetslide")
|
|
* @ORM\HasLifecycleCallbacks
|
|
*/
|
|
class Pagewidgetslide
|
|
{
|
|
/**
|
|
* @var int
|
|
*
|
|
* @ORM\Column(name="id", type="integer")
|
|
* @ORM\Id
|
|
* @ORM\GeneratedValue(strategy="AUTO")
|
|
*/
|
|
private $id;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="title", type="string", length=100, nullable=true)
|
|
*/
|
|
private $title;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="subtitle", type="string", length=250, nullable=true)
|
|
*/
|
|
private $subtitle;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="url", type="string", length=500, nullable=true)
|
|
*/
|
|
private $url;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="target", type="string", length=32)
|
|
*/
|
|
private $target;
|
|
|
|
/**
|
|
* @var int
|
|
*
|
|
* @ORM\Column(name="roworder", type="integer", nullable=true)
|
|
*/
|
|
private $roworder;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="image", type="string", length=100, nullable=true)
|
|
*/
|
|
private $image;
|
|
|
|
/**
|
|
* @ORM\ManyToOne(targetEntity="Pagewidget", inversedBy="pagewidgetslides")
|
|
*/
|
|
private $pagewidget;
|
|
|
|
public function getId(): ?int
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function getTitle(): ?string
|
|
{
|
|
return $this->title;
|
|
}
|
|
|
|
public function setTitle(?string $title): self
|
|
{
|
|
$this->title = $title;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getSubtitle(): ?string
|
|
{
|
|
return $this->subtitle;
|
|
}
|
|
|
|
public function setSubtitle(?string $subtitle): self
|
|
{
|
|
$this->subtitle = $subtitle;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getUrl(): ?string
|
|
{
|
|
return $this->url;
|
|
}
|
|
|
|
public function setUrl(?string $url): self
|
|
{
|
|
$this->url = $url;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getTarget(): ?string
|
|
{
|
|
return $this->target;
|
|
}
|
|
|
|
public function setTarget(string $target): self
|
|
{
|
|
$this->target = $target;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getRoworder(): ?int
|
|
{
|
|
return $this->roworder;
|
|
}
|
|
|
|
public function setRoworder(?int $roworder): self
|
|
{
|
|
$this->roworder = $roworder;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getImage(): ?string
|
|
{
|
|
return $this->image;
|
|
}
|
|
|
|
public function setImage(?string $image): self
|
|
{
|
|
$this->image = $image;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getPagewidget(): ?Pagewidget
|
|
{
|
|
return $this->pagewidget;
|
|
}
|
|
|
|
public function setPagewidget(?Pagewidget $pagewidget): self
|
|
{
|
|
$this->pagewidget = $pagewidget;
|
|
|
|
return $this;
|
|
}
|
|
}
|