ECommerceShipping.php 592B

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