1 | <?php |
||
19 | class ColorResourceModel implements ResourceModelInterface |
||
20 | { |
||
21 | /** |
||
22 | * Color name. |
||
23 | * |
||
24 | * @SA\Type("string") |
||
25 | * @SA\SerializedName("name") |
||
26 | * |
||
27 | * @var string|null |
||
28 | */ |
||
29 | protected $name; |
||
30 | |||
31 | /** |
||
32 | * HEX code. |
||
33 | * |
||
34 | * @SA\Type("string") |
||
35 | * @SA\SerializedName("hex") |
||
36 | * |
||
37 | * @var string|null |
||
38 | */ |
||
39 | protected $hex; |
||
40 | |||
41 | /** |
||
42 | * @return null|string |
||
43 | */ |
||
44 | 1 | public function getName() |
|
48 | |||
49 | /** |
||
50 | * @param null|string $name |
||
51 | * |
||
52 | * @return $this |
||
53 | */ |
||
54 | 1 | public function setName($name) |
|
60 | |||
61 | /** |
||
62 | * @return null|string |
||
63 | */ |
||
64 | 1 | public function getHex() |
|
68 | |||
69 | /** |
||
70 | * @param null|string $hex |
||
71 | * |
||
72 | * @return $this |
||
73 | */ |
||
74 | 1 | public function setHex($hex) |
|
80 | } |
||
81 |