<?php

namespace Offy\Bundle\DashboardBundle\Document;

use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB;

/**
 * Offy\Bundle\DashboardBundle\Document\Job
 */
/**
 * @MongoDB\Document(repositoryClass="Offy\Bundle\DashboardBundle\Repository\JobRepository")
 */
class Job
{
    /**
     * @MongoDB\Id
     */
    protected $id;

    /**
     * @MongoDB\int
     */
    protected $job_id;

   /**
     * @MongoDB\string
     */
    protected $name;
     /**
     * @MongoDB\int
     */
    protected $department_id;
    /**
     * @MongoDB\string
     */
    protected $image;
    /**
     * @MongoDB\string
     */
    protected $department_name;
    /**
     * @MongoDB\int
     */
    protected $number_open;
    

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

    /**
     * Set jobId
     *
     * @param int $jobId
     * @return self
     */
    public function setJobId($jobId)
    {
        $this->job_id = $jobId;
        return $this;
    }

    /**
     * Get jobId
     *
     * @return int $jobId
     */
    public function getJobId()
    {
        return $this->job_id;
    }

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

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

    /**
     * Set departmentId
     *
     * @param int $departmentId
     * @return self
     */
    public function setDepartmentId($departmentId)
    {
        $this->department_id = $departmentId;
        return $this;
    }

    /**
     * Get departmentId
     *
     * @return int $departmentId
     */
    public function getDepartmentId()
    {
        return $this->department_id;
    }

    /**
     * Set image
     *
     * @param string $image
     * @return self
     */
    public function setImage($image)
    {
        $this->image = $image;
        return $this;
    }

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

    /**
     * Set departmentName
     *
     * @param string $departmentName
     * @return self
     */
    public function setDepartmentName($departmentName)
    {
        $this->department_name = $departmentName;
        return $this;
    }

    /**
     * Get departmentName
     *
     * @return string $departmentName
     */
    public function getDepartmentName()
    {
        return $this->department_name;
    }

    /**
     * Set numberOpen
     *
     * @param int $numberOpen
     * @return self
     */
    public function setNumberOpen($numberOpen)
    {
        $this->number_open = $numberOpen;
        return $this;
    }

    /**
     * Get numberOpen
     *
     * @return int $numberOpen
     */
    public function getNumberOpen()
    {
        return $this->number_open;
    }
}
