And here:

```php
$this->id = isset($table->id) ? $table->id : null;
```