Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
updatecontactdto.php
1<?php
2
4
6
8{
9 public int $typeId;
10
11 public string $code;
12
13 public ?string $name = null;
14
16
18
19 public bool $blacklisted = false;
20
21 public function toArray(): array {
22 return [
23 'TYPE_ID' => $this->typeId,
24 'CODE' => $this->code,
25 'NAME' => $this->name,
26 'DATE_INSERT' => $this->dateInsert,
27 'DATE_UPDATE' => $this->dateUpdate,
28 'BLACKLISTED' => $this->blacklisted ? 'Y' : 'N',
29 ];
30 }
31}