Rajout de doctrine/orm
[zf2.biz/galerie.git] / vendor / doctrine / orm / tests / Doctrine / Tests / Models / Company / CompanyFixContract.php
1 <?php
2
3 namespace Doctrine\Tests\Models\Company;
4
5 /**
6  * @Entity
7  */
8 class CompanyFixContract extends CompanyContract
9 {
10     /**
11      * @column(type="integer")
12      * @var int
13      */
14     private $fixPrice = 0;
15
16     public function calculatePrice()
17     {
18         return $this->fixPrice;
19     }
20
21     public function getFixPrice()
22     {
23         return $this->fixPrice;
24     }
25
26     public function setFixPrice($fixPrice)
27     {
28         $this->fixPrice = $fixPrice;
29     }
30 }