1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/tests/Doctrine/Tests/Models/ECommerce/ECommerceShipping.php

41 lines
609 B
PHP

<?php
namespace Doctrine\Tests\Models\ECommerce;
/**
* ECommerceShipping
* Represents a shipping method.
*
* @author Giorgio Sironi
* @Entity
* @Table(name="ecommerce_shippings")
*/
class ECommerceShipping
{
/**
* @Id @Column(type="integer")
* @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;
}
}