| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 14 | class CmsProduct |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @ORM\Column(type="integer") |
||
| 18 | * @ORM\Id @ORM\GeneratedValue |
||
| 19 | */ |
||
| 20 | public $id; |
||
| 21 | |||
| 22 | /** @ORM\Column(type="string") */ |
||
| 23 | public $name; |
||
| 24 | |||
| 25 | /** @ORM\Column(type="decimal") */ |
||
| 26 | public $price; |
||
| 27 | |||
| 28 | /** @ORM\Column(type="datetime") */ |
||
| 29 | public $created_at; |
||
| 30 | |||
| 31 | public function getId() |
||
| 32 | { |
||
| 33 | return $this->id; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getPrice() |
||
| 37 | { |
||
| 38 | return $this->price; |
||
| 39 | } |
||
| 40 | |||
| 41 | public function setPrice(float $price) |
||
| 44 | } |
||
| 45 | } |
||
| 46 |