<?php

namespace Offy\Bundle\DashboardBundle\Document;

use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB;

/**
 * Offy\Bundle\DashboardBundle\Document\HrDepartment
 */
/**
 * @MongoDB\Document(repositoryClass="Offy\Bundle\DashboardBundle\Repository\HrDepartmentRepository")
 */
class HrDepartment
{
    /**
     * @MongoDB\Id
     */
    protected $id;

    /**
     * @MongoDB\int
     */
    protected $department_id;

   /**
     * @MongoDB\string
     */
    protected $name;

    /**
     * Set Id
     *
     * @param int $Id
     * @return self
     */
    public function setId($id)
    {
        $this->id = $id;
        return $this;
    }
    /**
     * Get id
     *
     * @return id $id
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * 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 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;
    }
}
