1 | <?php |
||
9 | class CachesEntity extends AbstractEntity implements CachesInterface |
||
|
|||
10 | { |
||
11 | |||
12 | /** |
||
13 | * @var int |
||
14 | */ |
||
15 | public $cache_id; |
||
16 | |||
17 | /** |
||
18 | * @var datetime |
||
19 | */ |
||
20 | public $date_created; |
||
21 | |||
22 | /** |
||
23 | * @var datetime |
||
24 | */ |
||
25 | public $last_modified; |
||
26 | |||
27 | /** |
||
28 | * @var int |
||
29 | */ |
||
30 | public $user_id; |
||
31 | |||
32 | /** |
||
33 | * @var string |
||
34 | */ |
||
35 | public $name; |
||
36 | |||
37 | /** |
||
38 | * @var float (DB:double?) |
||
39 | */ |
||
40 | public $longitude; |
||
41 | |||
42 | /** |
||
43 | * @var float (DB:double?) |
||
44 | */ |
||
45 | public $latitude; |
||
46 | |||
47 | /** |
||
48 | * @var int |
||
49 | */ |
||
50 | public $status; |
||
51 | |||
52 | /** |
||
53 | * @var string |
||
54 | */ |
||
55 | public $country; |
||
56 | |||
57 | /** |
||
58 | * @var int |
||
59 | */ |
||
60 | public $difficulty; |
||
61 | |||
62 | /** |
||
63 | * @var int |
||
64 | */ |
||
65 | public $terrain; |
||
66 | |||
67 | /** |
||
68 | * @var int |
||
69 | */ |
||
70 | public $size; |
||
71 | |||
72 | /** |
||
73 | * @var string (DB:varchar) |
||
74 | */ |
||
75 | public $wp_gc; |
||
76 | |||
77 | /** |
||
78 | * @var string (DB:varchar) |
||
79 | */ |
||
80 | public $wp_oc; |
||
81 | |||
82 | /** |
||
83 | * |
||
84 | */ |
||
85 | public function isActiveAndFindableAndSoOn(): bool |
||
92 | |||
93 | public function getID(): int |
||
94 | { |
||
95 | return $this->cache_id; |
||
96 | } |
||
97 | |||
98 | public function getName(): string |
||
99 | { |
||
100 | return $this->name; |
||
101 | } |
||
102 | |||
103 | public function getGCid(): string |
||
104 | { |
||
105 | return $this->wp_gc; |
||
106 | } |
||
107 | |||
108 | public function getOCid(): string |
||
112 | |||
113 | public function getStatus(): string |
||
117 | |||
118 | /* |
||
119 | public function getRoles(): array |
||
120 | { |
||
121 | return $this->roles; |
||
122 | } |
||
123 | |||
124 | public function getPassword(): ?string |
||
125 | { |
||
126 | return $this->password; |
||
127 | } |
||
128 | |||
129 | public function getSalt(): string |
||
130 | { |
||
131 | return ''; |
||
132 | } |
||
133 | |||
134 | public function getUsername(): string |
||
135 | { |
||
136 | return $this->username; |
||
137 | } |
||
138 | |||
139 | public function eraseCredentials(): void |
||
140 | { |
||
141 | } |
||
142 | */ |
||
143 | |||
144 | } |
||
145 |