Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
sectiondto.php
1<?php
2
4
5class SectionDto extends Dto
6{
8 public $id;
10 public $name;
12 public $color;
14 public $hexColor;
18 public $changeKey;
20 public $canShare;
24 public $canEdit;
34 public $owner;
35
39 protected function getComplexPropertyMap(): array
40 {
41 return [
42 'owner' => [
43 'class' => EmailDto::class,
44 'isMandatory' => true,
45 ],
46 ];
47 }
48}