Rajout de doctrine/orm
[zf2.biz/galerie.git] / vendor / doctrine / orm / tests / Doctrine / Tests / Models / ECommerce / ECommerceShipping.php
1 <?php
2
3 namespace Doctrine\Tests\Models\ECommerce;
4
5 /**
6  * ECommerceShipping
7  * Represents a shipping method.
8  *
9  * @author Giorgio Sironi
10  * @Entity
11  * @Table(name="ecommerce_shippings")
12  */
13 class ECommerceShipping
14 {
15     /**
16      * @Id @Column(type="integer")
17      * @GeneratedValue
18      */
19     private $id;
20
21     /**
22      * @Column(type="integer")
23      */
24     private $days;
25
26     public function getId()
27     {
28         return $this->id;
29     }
30
31     public function getDays()
32     {
33         return $this->days;
34     }
35
36     public function setDays($days)
37     {
38         $this->days = $days;
39     }
40 }