|
| 1 | +<?php |
| 2 | + |
| 3 | +/** |
| 4 | +* Inheritance: no |
| 5 | +* Variants: no |
| 6 | +
|
| 7 | +
|
| 8 | +Fields Summary: |
| 9 | +- code [input] |
| 10 | +- name [input] |
| 11 | +- fullName [input] |
| 12 | +- masterSystem [multiselect] |
| 13 | +- roleSubject [select] |
| 14 | +- roleObject [multiselect] |
| 15 | +- topic [multiselect] |
| 16 | +- description [textarea] |
| 17 | +*/ |
| 18 | + |
| 19 | +namespace PhpKafka\PhpAvroSchemaGenerator\Example\Minimal; |
| 20 | + |
| 21 | +/** |
| 22 | +* @method static \PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole\Listing getList() |
| 23 | +* @method static \PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole\Listing|\PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole|null getByCode($value, $limit = 0, $offset = 0, $objectTypes = null) |
| 24 | +* @method static \PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole\Listing|\PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole|null getByName($value, $limit = 0, $offset = 0, $objectTypes = null) |
| 25 | +* @method static \PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole\Listing|\PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole|null getByFullName($value, $limit = 0, $offset = 0, $objectTypes = null) |
| 26 | +* @method static \PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole\Listing|\PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole|null getByMasterSystem($value, $limit = 0, $offset = 0, $objectTypes = null) |
| 27 | +* @method static \PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole\Listing|\PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole|null getByRoleSubject($value, $limit = 0, $offset = 0, $objectTypes = null) |
| 28 | +* @method static \PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole\Listing|\PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole|null getByRoleObject($value, $limit = 0, $offset = 0, $objectTypes = null) |
| 29 | +* @method static \PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole\Listing|\PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole|null getByTopic($value, $limit = 0, $offset = 0, $objectTypes = null) |
| 30 | +* @method static \PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole\Listing|\PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole|null getByDescription($value, $limit = 0, $offset = 0, $objectTypes = null) |
| 31 | +*/ |
| 32 | + |
| 33 | +class EpamRole { |
| 34 | +protected $o_classId = "6"; |
| 35 | +protected $o_className = "EpamRole"; |
| 36 | +protected $code; |
| 37 | +protected $name; |
| 38 | +protected $fullName; |
| 39 | +/** |
| 40 | +* @var string[] |
| 41 | +**/ |
| 42 | +protected $masterSystem; |
| 43 | +protected $roleSubject; |
| 44 | +protected $roleObject; |
| 45 | +protected $topic; |
| 46 | +protected $description; |
| 47 | + |
| 48 | + |
| 49 | +/** |
| 50 | +* @param array $values |
| 51 | +* @return \PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole |
| 52 | +*/ |
| 53 | +public static function create($values = array()) { |
| 54 | + $object = new static(); |
| 55 | + return $object; |
| 56 | +} |
| 57 | + |
| 58 | +/** |
| 59 | +* Get code - code |
| 60 | +* @return string|null |
| 61 | +*/ |
| 62 | +public function getCode(): ?string |
| 63 | +{ |
| 64 | + return $this->code; |
| 65 | +} |
| 66 | + |
| 67 | +/** |
| 68 | +* Set code - code |
| 69 | +* @param string|null $code |
| 70 | +* @return \PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole |
| 71 | +*/ |
| 72 | +public function setCode(?string $code) |
| 73 | +{ |
| 74 | + $this->code = $code; |
| 75 | + |
| 76 | + return $this; |
| 77 | +} |
| 78 | + |
| 79 | +/** |
| 80 | +* Get name - name |
| 81 | +* @return string|null |
| 82 | +*/ |
| 83 | +public function getName(): ?string |
| 84 | +{ |
| 85 | + return $this->name; |
| 86 | +} |
| 87 | + |
| 88 | +/** |
| 89 | +* Set name - name |
| 90 | +* @param string|null $name |
| 91 | +* @return \PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole |
| 92 | +*/ |
| 93 | +public function setName(?string $name) |
| 94 | +{ |
| 95 | + $this->name = $name; |
| 96 | + |
| 97 | + return $this; |
| 98 | +} |
| 99 | + |
| 100 | +/** |
| 101 | +* Get fullName - fullName |
| 102 | +* @return string|null |
| 103 | +*/ |
| 104 | +public function getFullName(): ?string |
| 105 | +{ |
| 106 | + return $this->fullName; |
| 107 | +} |
| 108 | + |
| 109 | +/** |
| 110 | +* Set fullName - fullName |
| 111 | +* @param string|null $fullName |
| 112 | +* @return \PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole |
| 113 | +*/ |
| 114 | +public function setFullName(?string $fullName) |
| 115 | +{ |
| 116 | + $this->fullName = $fullName; |
| 117 | + |
| 118 | + return $this; |
| 119 | +} |
| 120 | + |
| 121 | +/** |
| 122 | +* Get masterSystem - masterSystem |
| 123 | +* @return string[]|null |
| 124 | +*/ |
| 125 | +public function getMasterSystem(): ?array |
| 126 | +{ |
| 127 | + $data = $this->masterSystem; |
| 128 | + return $data; |
| 129 | +} |
| 130 | + |
| 131 | +/** |
| 132 | +* Set masterSystem - masterSystem |
| 133 | +* @param string[]|null $masterSystem |
| 134 | +* @return \PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole |
| 135 | +*/ |
| 136 | +public function setMasterSystem(?array $masterSystem) |
| 137 | +{ |
| 138 | + $this->masterSystem = $masterSystem; |
| 139 | + return $this; |
| 140 | +} |
| 141 | + |
| 142 | +/** |
| 143 | +* Get roleSubject - subject |
| 144 | +* @return string|null |
| 145 | +*/ |
| 146 | +public function getRoleSubject(): ?string |
| 147 | +{ |
| 148 | + $data = $this->roleSubject; |
| 149 | + return $data; |
| 150 | +} |
| 151 | + |
| 152 | +/** |
| 153 | +* Set roleSubject - subject |
| 154 | +* @param string|null $roleSubject |
| 155 | +* @return \PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole |
| 156 | +*/ |
| 157 | +public function setRoleSubject(?string $roleSubject) |
| 158 | +{ |
| 159 | + $this->roleSubject = $roleSubject; |
| 160 | + return $this; |
| 161 | +} |
| 162 | + |
| 163 | +/** |
| 164 | +* Get roleObject - roleObject |
| 165 | +* @return string[]|null |
| 166 | +*/ |
| 167 | +public function getRoleObject(): ?array |
| 168 | +{ |
| 169 | + $data = $this->roleObject; |
| 170 | + return $data; |
| 171 | +} |
| 172 | + |
| 173 | +/** |
| 174 | +* Set roleObject - roleObject |
| 175 | +* @param string[]|null $roleObject |
| 176 | +* @return \PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole |
| 177 | +*/ |
| 178 | +public function setRoleObject(?array $roleObject) |
| 179 | +{ |
| 180 | + $this->roleObject = $roleObject; |
| 181 | + return $this; |
| 182 | +} |
| 183 | + |
| 184 | +/** |
| 185 | +* Get topic - topic |
| 186 | +* @return string[]|null |
| 187 | +*/ |
| 188 | +public function getTopic(): ?array |
| 189 | +{ |
| 190 | + $data = $this->topic; |
| 191 | + return $data; |
| 192 | +} |
| 193 | + |
| 194 | +/** |
| 195 | +* Set topic - topic |
| 196 | +* @param string[]|null $topic |
| 197 | +* @return \PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole |
| 198 | +*/ |
| 199 | +public function setTopic(?array $topic) |
| 200 | +{ |
| 201 | + $this->topic = $topic; |
| 202 | + return $this; |
| 203 | +} |
| 204 | + |
| 205 | +/** |
| 206 | +* Get description - description |
| 207 | +* @return string|null |
| 208 | +*/ |
| 209 | +public function getDescription(): ?string |
| 210 | +{ |
| 211 | + $data = $this->description; |
| 212 | + return $data; |
| 213 | +} |
| 214 | + |
| 215 | +/** |
| 216 | +* Set description - description |
| 217 | +* @param string|null $description |
| 218 | +* @return \PhpKafka\PhpAvroSchemaGenerator\Example\Minimal\EpamRole |
| 219 | +*/ |
| 220 | +public function setDescription(?string $description) |
| 221 | +{ |
| 222 | + $this->description = $description; |
| 223 | + return $this; |
| 224 | +} |
| 225 | + |
| 226 | +} |
0 commit comments