app/Plugin/ApgRichCategory42/Entity/Config.php line 13

Open in your IDE?
  1. <?php
  2. namespace Plugin\ApgRichCategory42\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Config
  6.  *
  7.  * @ORM\Table(name="plg_apg_rich_category42_config")
  8.  * @ORM\Entity(repositoryClass="Plugin\ApgRichCategory42\Repository\ConfigRepository")
  9.  */
  10. class Config
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer", options={"unsigned":true})
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var integer
  22.      *
  23.      * @ORM\Column(name="insert_content_type", type="integer", nullable=true, options={"default":0})
  24.      */
  25.     private $insert_content_type;
  26.     /**
  27.      * @var integer
  28.      *
  29.      * @ORM\Column(name="url_type", type="integer", nullable=true, options={"default":0})
  30.      */
  31.     private $url_type;
  32.     /**
  33.      * @return int
  34.      */
  35.     public function getId()
  36.     {
  37.         return $this->id;
  38.     }
  39.     /**
  40.      * @return int
  41.      */
  42.     public function getInsertContentType(): ?int
  43.     {
  44.         return $this->insert_content_type;
  45.     }
  46.     /**
  47.      * @param int $insert_content_type
  48.      * @return Config
  49.      */
  50.     public function setInsertContentType(int $insert_content_type): Config
  51.     {
  52.         $this->insert_content_type = $insert_content_type;
  53.         return $this;
  54.     }
  55.     /**
  56.      * @return int
  57.      */
  58.     public function getUrlType(): ?int
  59.     {
  60.         return $this->url_type;
  61.     }
  62.     /**
  63.      * @param int $url_type
  64.      * @return Config
  65.      */
  66.     public function setUrlType(int $url_type): Config
  67.     {
  68.         $this->url_type = $url_type;
  69.         return $this;
  70.     }
  71. }