12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?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
- */
- 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;
- }
- }
|