src/Renatomefi/FormBundle/Document/FormPage.php
<?php
namespace Renatomefi\FormBundle\Document;
use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;
/**
* Class Form
* @package Renatomefi\FormBundle\Document
* @ODM\EmbeddedDocument
*/
class FormPage extends ProtocolEmbed
{
/**
* @ODM\String
*/
protected $title;
/**
* @ODM\Int
*/
protected $number;
/**
* @ODM\String
*/
protected $group;
/**
* Get group
*
* @return string
*/
public function getGroup()
{
return $this->group;
}
/**
* Set page group
*
* @param string $group
* @return self
*/
public function setGroup($group)
{
$this->group = $group;
return $this;
}
/**
* Set title
*
* @param string $title
* @return self
*/
public function setTitle($title)
{
$this->title = $title;
return $this;
}
/**
* Get title
*
* @return string $title
*/
public function getTitle()
{
return $this->title;
}
/**
* Set number
*
* @param int $number
* @return self
*/
public function setNumber($number)
{
$this->number = $number;
return $this;
}
/**
* Get number
*
* @return int $number
*/
public function getNumber()
{
return $this->number;
}
}