<?php
namespace Plugin\ApgRichCategory42\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Config
*
* @ORM\Table(name="plg_apg_rich_category42_config")
* @ORM\Entity(repositoryClass="Plugin\ApgRichCategory42\Repository\ConfigRepository")
*/
class Config
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", options={"unsigned":true})
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var integer
*
* @ORM\Column(name="insert_content_type", type="integer", nullable=true, options={"default":0})
*/
private $insert_content_type;
/**
* @var integer
*
* @ORM\Column(name="url_type", type="integer", nullable=true, options={"default":0})
*/
private $url_type;
/**
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @return int
*/
public function getInsertContentType(): ?int
{
return $this->insert_content_type;
}
/**
* @param int $insert_content_type
* @return Config
*/
public function setInsertContentType(int $insert_content_type): Config
{
$this->insert_content_type = $insert_content_type;
return $this;
}
/**
* @return int
*/
public function getUrlType(): ?int
{
return $this->url_type;
}
/**
* @param int $url_type
* @return Config
*/
public function setUrlType(int $url_type): Config
{
$this->url_type = $url_type;
return $this;
}
}