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