<?php

namespace OfficeBrain\Bundle\CategoryBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;

/**
 * Entity For CategoryMapping
 * @author OfficeBrain 4246
 */

/**
 * CategoryStatusSchedular
 *
 * @ORM\Table(name="tbl_category_status_schedular")
 * @ORM\Entity(repositoryClass="OfficeBrain\Bundle\CategoryBundle\Entity\CategoryStatusSchedularRepository")
 * 
 */
class CategoryStatusSchedular
{
	
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="bigint",length=20, options={"unsigned"=true})
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var integer
     *
     * @ORM\Column(name="pms_id", type="integer" ,nullable=true)
     */
    private $pmsId;

    /**
     * @var integer
     *
     * @ORM\Column(name="product_count", type="integer" ,nullable=true)
     */
    private $productCount;


    /**
     * @var string
     *
     * @ORM\Column(name="category_name", type="string" ,nullable=true)
     */
    private $name;

    /**
     * @var string
     *
     * @ORM\Column(name="category_status", type="string" ,nullable=true)
     */
    private $categoryStatus;


    /**
     * @var string
     *
     * @ORM\Column(name="status", type="string" ,nullable=true)
     */
    private $status;

    /**
     * @var \DateTime
     * @Gedmo\Timestampable(on="create")
     * @ORM\Column(name="created_at", type="datetime", nullable=true)
     */
    protected $createdAt;

    /**
     * @var \DateTime
     * 
     * @ORM\Column(name="estimate_time", type="datetime", nullable=true)
     */
    protected $estimateTime;
    
    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }
	
    /**
     * Set pmsId
     *
     * @param integer $pmsId
     * @return CategoryStatusSchedular
     */
    public function setPmsId($pmsId)
    {
    	$this->pmsId = $pmsId;
    
    	return $this;
    }
    
    /**
     * Get pmsId
     *
     * @return integer
     */
    public function getPmsId()
    {
    	return $this->pmsId;
    }

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

        return $this;
    }

    /**
     * Get name
     *
     * @return text 
     */
    public function getName()
    {
        return $this->name;
    }
    
    /**
     * Set categoryStatus
     *
     * @param string $categoryStatus
     * @return CategoryStatusSchedular
     */
    public function setCategoryStatus($categoryStatus)
    {
        $this->categoryStatus = $categoryStatus;

        return $this;
    }

    /**
     * Get categoryStatus
     *
     * @return text 
     */
    public function getCategoryStatus()
    {
        return $this->categoryStatus;
    }
    
   
    /**
     * Set status
     *
     * @param integer $status
     * @return CategoryStatusSchedular
     */
    public function setStatus($status)
    {
        $this->status = $status;

        return $this;
    }

    /**
     * Get status
     *
     * @return text 
     */
    public function getStatus()
    {
        return $this->status;
    }

    /**
     * Set createdAt
     *
     * @param \DateTime $createdAt
     * @return CategoryStatusSchedular
     */
    public function setCreatedAt($createdAt)
    {
        $this->createdAt = $createdAt;

        return $this;
    }

    /**
     * Get createdAt
     *
     * @return \DateTime 
     */
    public function getCreatedAt()
    {
        return $this->createdAt;
    }

    /**
     * Set estimateTime
     *
     * @param \DateTime $estimateTime
     * @return CategoryStatusSchedular
     */
    public function setEstimateTime($estimateTime)
    {
        $this->estimateTime = $estimateTime;

        return $this;
    }

    /**
     * Get estimateTime
     *
     * @return \DateTime 
     */
    public function getEstimateTime()
    {
        return $this->estimateTime;
    }

    
    /**
     * Set productCount
     *
     * @param integer $productCount
     * @return CategoryStatusSchedular
     */
    public function setProductCount($productCount)
    {
        $this->productCount = $productCount;
    
        return $this;
    }
    
    /**
     * Get productCount
     *
     * @return integer
     */
    public function getProductCount()
    {
        return $this->productCount;
    }
}
