2009-07-01 16:03:41 +04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Doctrine\Tests\Models\ECommerce;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* ECommerceShipping
|
|
|
|
* Represents a shipping method.
|
|
|
|
*
|
|
|
|
* @author Giorgio Sironi
|
|
|
|
* @Entity
|
|
|
|
* @Table(name="ecommerce_shippings")
|
|
|
|
*/
|
|
|
|
class ECommerceShipping
|
|
|
|
{
|
|
|
|
/**
|
2009-07-03 21:36:41 +04:00
|
|
|
* @Id @Column(type="integer")
|
2009-07-01 16:03:41 +04:00
|
|
|
* @GeneratedValue(strategy="AUTO")
|
|
|
|
*/
|
|
|
|
private $id;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @Column(type="integer")
|
|
|
|
*/
|
|
|
|
private $days;
|
|
|
|
|
|
|
|
public function getId()
|
|
|
|
{
|
|
|
|
return $this->id;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getDays()
|
|
|
|
{
|
|
|
|
return $this->days;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setDays($days)
|
|
|
|
{
|
|
|
|
$this->days = $days;
|
|
|
|
}
|
|
|
|
}
|