<?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\StageRepository")
 */
class Stage
{
    /**
     * @MongoDB\Id
     */
    protected $id;

    /**
     * @MongoDB\int
     */
    protected $stage_id;
    /**
     * @MongoDB\string
     */
    protected $name;
    /**
     * @MongoDB\int
     */
    protected $order;




    /**
     * Get id
     *
     * @return id $id
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set stageId
     *
     * @param int $stageId
     * @return self
     */
    public function setStageId($stageId)
    {
        $this->stage_id = $stageId;
        return $this;
    }

    /**
     * Get stageId
     *
     * @return int $stageId
     */
    public function getStageId()
    {
        return $this->stage_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 order
     *
     * @param int $order
     * @return self
     */
    public function setOrder($order)
    {
        $this->order = $order;
        return $this;
    }

    /**
     * Get order
     *
     * @return int $order
     */
    public function getOrder()
    {
        return $this->order;
    }
    
}
