mc-cms-namelessmc/core/classes/DTO/IntegrationData.php

22 lines
469 B
PHP
Raw Permalink Normal View History

2022-05-11 23:44:22 -06:00
<?php
class IntegrationData
{
2022-05-11 23:44:22 -06:00
public int $id;
public string $name;
public bool $enabled;
public bool $can_unlink;
public bool $required;
public int $order;
public function __construct(object $row)
{
2022-05-11 23:44:22 -06:00
$this->id = $row->id;
$this->name = $row->name;
$this->enabled = $row->enabled;
$this->can_unlink = $row->can_unlink;
$this->required = $row->required;
$this->order = $row->order;
}
}