<?php

namespace Webkul\WebkulCsvImportBundle\Entity;

/**
 * TemplateConfiguration
 */
class TemplateConfiguration
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var string
     */
    private $name;

    /**
     * @var string
     */
    private $rawValues;

    /**
     * @var bool
     */
    private $active = 0;

    /**
    * Change the active value vice-versa
    */
    public function activation()
    {
        $this->active = !$this->active;

        return $this;
    }
  

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

    /**
     * Set name
     *
     * @param string $name
     *
     * @return TemplateConfiguration
     */
    public function setName($name)
    {
        $this->name = $name;

        return $this;
    }

    /**
     * Get name
     *
     * @return string
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * Set rawValues
     *
     * @param string $rawValues
     *
     * @return TemplateConfiguration
     */
    public function setRawValues($rawValues)
    {
        $this->rawValues = $rawValues;

        return $this;
    }

    /**
     * Get rawValues
     *
     * @return string
     */
    public function getRawValues()
    {
        return $this->rawValues;
    }

    /**
     * Set active
     *
     * @param boolean $active
     *
     * @return TemplateConfiguration
     */
    public function setActive($active)
    {
        $this->active = $active;

        return $this;
    }

    /**
     * Get active
     *
     * @return bool
     */
    public function getActive()
    {
        return $this->active;
    }
}
