File: /virtual/nagasaki/public_html/ec/src/Eccube/Entity/DeliveryDate.php
<?php
namespace Eccube\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* DeliveryDate
*/
class DeliveryDate extends \Eccube\Entity\AbstractEntity
{
/**
* @return string
*/
public function __toString()
{
return $this->getName();
}
/**
* @var integer
*/
private $id;
/**
* @var string
*/
private $name;
/**
* @var integer
*/
private $value;
/**
* @var integer
*/
private $rank;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set name
*
* @param string $name
* @return DeliveryDate
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get name
*
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Set value
*
* @param integer $value
* @return DeliveryDate
*/
public function setValue($value)
{
$this->value = $value;
return $this;
}
/**
* Get value
*
* @return integer
*/
public function getValue()
{
return $this->value;
}
/**
* Set rank
*
* @param integer $rank
* @return DeliveryDate
*/
public function setRank($rank)
{
$this->rank = $rank;
return $this;
}
/**
* Get rank
*
* @return integer
*/
public function getRank()
{
return $this->rank;
}
}