<?php
/**
 * MetaTagBase MappedSuperClass
 * 
 * @author Visual Media 
 */
namespace VisualM\TagManagerBundle\Entity;

use VisualM\TagManagerBundle\Model\MetaTagBaseModel;
use Doctrine\ORM\Mapping as ORM;
use VisualM\TagManagerBundle\Validator\Constraints\ValidExpression as AssertValidExpression;
use Symfony\Component\Validator\Constraints as Assert;

/**
 * MetaTagBase MappedSuperClass
 *
 * @ORM\MappedSuperclass()
 * @AssertValidExpression(message = "meta_tag_base.inhoud.expression", target="inhoud", valueFunc = "getInhoud", enabledFunc = "getInhoudIsExpression")
 * @AssertValidExpression(message = "meta_tag_base.zichtbaar.expression", target="zichtbaar", valueFunc = "getZichtbaar", enabledFunc = "getZichtbaarIsExpression")
 *
 * @author Visual Media 
 */
abstract class MetaTagBase extends MetaTagBaseModel
{
    /**
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;

    /**
     * @ORM\Column(name="zichtbaar", type="text", nullable = true)
     * 
     */
    protected $zichtbaar = "1";

    /**
     * @ORM\Column(name="zichtbaar_is_expression", type="boolean", nullable = true)
     */
    protected $zichtbaarIsExpression = false;

    /**
     * @ORM\Column(name="inhoud", type="text", nullable = true)
     */
    protected $inhoud;

    /**
     * @ORM\Column(name="inhoud_is_expression", type="boolean", nullable = true)
     */
    protected $inhoudIsExpression = false;
    

    /**
     * Get Id
     *
     * @return int Id
     **/
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set Id
     *
     * @param int $id Id
     *
     * @return void
     **/
    public function setId($id)
    {
        $this->id = $id;
    }

    /**
     * Get Zichtbaar
     *
     * @return string Zichtbaar
     **/
    public function getZichtbaar()
    {
        return $this->zichtbaar;
    }

    /**
     * Set Zichtbaar
     *
     * @param string $zichtbaar Zichtbaar
     *
     * @return void
     **/
    public function setZichtbaar($zichtbaar)
    {
        $this->zichtbaar = $zichtbaar;
    }

    /**
     * Get Zichtbaar is Expression
     *
     * @return bool Zichtbaar is Expression
     **/
    public function getZichtbaarIsExpression()
    {
        return $this->zichtbaarIsExpression;
    }

    /**
     * Set Zichtbaar is Expression
     *
     * @param bool $zichtbaarIsExpression Zichtbaar is Expression
     *
     * @return void
     **/
    public function setZichtbaarIsExpression($zichtbaarIsExpression)
    {
        $this->zichtbaarIsExpression = $zichtbaarIsExpression;
    }

    /**
     * Get Inhoud
     *
     * @return string Inhoud
     **/
    public function getInhoud()
    {
        return $this->inhoud;
    }

    /**
     * Set Inhoud
     *
     * @param string $inhoud Inhoud
     *
     * @return void
     **/
    public function setInhoud($inhoud)
    {
        $this->inhoud = $inhoud;
    }

    /**
     * Get Inhoud Is Expression
     *
     * @return bool Inhoud Is Expression
     **/
    public function getInhoudIsExpression()
    {
        return $this->inhoudIsExpression;
    }

    /**
     * Set Inhoud Is Expression
     *
     * @param bool $inhoudIsExpression Inhoud Is Expression
     *
     * @return void
     **/
    public function setInhoudIsExpression($inhoudIsExpression)
    {
        $this->inhoudIsExpression = $inhoudIsExpression;
    }
}
