3 declare(strict_types=1);
25 use DateTimeImmutable;
135 ?
string $name =
null,
169 if (is_null($this->
id)) {
171 $data = $this->
raw(self::FIELD_ID);
172 if (is_null($data)) {
175 $this->
id = (string) $data;
189 if (is_null($this->version)) {
191 $data = $this->
raw(self::FIELD_VERSION);
192 if (is_null($data)) {
195 $this->version = (int) $data;
209 if (is_null($this->createdAt)) {
211 $data = $this->
raw(self::FIELD_CREATED_AT);
212 if (is_null($data)) {
216 if (
false === $data) {
219 $this->createdAt = $data;
233 if (is_null($this->lastModifiedAt)) {
235 $data = $this->
raw(self::FIELD_LAST_MODIFIED_AT);
236 if (is_null($data)) {
240 if (
false === $data) {
243 $this->lastModifiedAt = $data;
257 if (is_null($this->createdBy)) {
259 $data = $this->
raw(self::FIELD_CREATED_BY);
260 if (is_null($data)) {
278 if (is_null($this->lastModifiedBy)) {
280 $data = $this->
raw(self::FIELD_LAST_MODIFIED_BY);
281 if (is_null($data)) {
299 if (is_null($this->key)) {
301 $data = $this->
raw(self::FIELD_KEY);
302 if (is_null($data)) {
305 $this->key = (string) $data;
319 if (is_null($this->name)) {
321 $data = $this->
raw(self::FIELD_NAME);
322 if (is_null($data)) {
325 $this->name = (string) $data;
339 if (is_null($this->description)) {
341 $data = $this->
raw(self::FIELD_DESCRIPTION);
342 if (is_null($data)) {
345 $this->description = (string) $data;
359 if (is_null($this->status)) {
361 $data = $this->
raw(self::FIELD_STATUS);
362 if (is_null($data)) {
365 $this->status = (string) $data;
379 if (is_null($this->predicate)) {
381 $data = $this->
raw(self::FIELD_PREDICATE);
382 if (is_null($data)) {
385 $this->predicate = (string) $data;
399 if (is_null($this->approvers)) {
401 $data = $this->
raw(self::FIELD_APPROVERS);
402 if (is_null($data)) {
420 if (is_null($this->requesters)) {
422 $data = $this->
raw(self::FIELD_REQUESTERS);
423 if (is_null($data)) {
440 if (is_null($this->businessUnit)) {
442 $data = $this->
raw(self::FIELD_BUSINESS_UNIT);
443 if (is_null($data)) {
461 if (is_null($this->custom)) {
463 $data = $this->
raw(self::FIELD_CUSTOM);
464 if (is_null($data)) {
596 #[\ReturnTypeWillChange]
607 return (
object) $data;