10 private array $params;
18 'ID' => $params[
'ID'] ??
null,
19 'LOCATION_ID' => $params[
'LOCATION_ID'] ??
null,
20 'CAPACITY' => $params[
'CAPACITY'] ??
null,
21 'NECESSITY' => $params[
'NECESSITY'] ??
null,
22 'NAME' => $params[
'NAME'] ??
null,
23 'COLOR' => $params[
'COLOR'] ??
null,
24 'OWNER_ID' => $params[
'OWNER_ID'] ??
null,
25 'ACCESS' => $params[
'ACCESS'] ??
null,
26 'CATEGORY_ID' => $params[
'CATEGORY_ID'] ??
null,
28 $this->params = $params;
33 return (
int)$this->params[
'ID'];
38 return (
int)$this->params[
'LOCATION_ID'];
43 return $this->params[
'CAPACITY'];
48 return $this->params[
'NECESSITY'];
53 return $this->params[
'NAME'];
58 return $this->params[
'COLOR'];
63 return (
int)$this->params[
'OWNER_ID'];
68 return $this->params[
'ACCESS'];
73 return (
int)$this->params[
'CATEGORY_ID'];
__construct(array $params)