26 lines
493B

  1. <?php
  2. namespace Lc\ShopBundle\Model;
  3. use Doctrine\ORM\Mapping as ORM;
  4. trait OrderAmountMin
  5. {
  6. /**
  7. * @ORM\Column(type="float")
  8. */
  9. protected $orderAmountMin;
  10. public function getOrderAmountMin(): ?float
  11. {
  12. return $this->orderAmountMin;
  13. }
  14. public function setOrderAmountMin(float $orderAmountMin): self
  15. {
  16. $this->orderAmountMin = $orderAmountMin;
  17. return $this;
  18. }
  19. }