CompanyFixContract.php 464B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace Doctrine\Tests\Models\Company;
  3. /**
  4. * @Entity
  5. */
  6. class CompanyFixContract extends CompanyContract
  7. {
  8. /**
  9. * @column(type="integer")
  10. * @var int
  11. */
  12. private $fixPrice = 0;
  13. public function calculatePrice()
  14. {
  15. return $this->fixPrice;
  16. }
  17. public function getFixPrice()
  18. {
  19. return $this->fixPrice;
  20. }
  21. public function setFixPrice($fixPrice)
  22. {
  23. $this->fixPrice = $fixPrice;
  24. }
  25. }