dbmsv4/app/DTOs/Part/SWITCHDTO.php
2025-11-19 11:16:04 +09:00

27 lines
550 B
PHP

<?php
namespace App\DTOs\Part;
use App\DTOs\CommonDTO;
class SWITCHDTO extends CommonDTO
{
public ?int $uid = null;
public ?int $clientinfo_uid = null;
public ?int $serviceinfo_uid = null;
public ?int $serverinfo_uid = null;
public ?string $code = null;
public ?int $price = null;
public ?string $status = null;
public function __construct(array $datas = [])
{
parent::__construct();
foreach ($datas as $key => $value) {
if (property_exists($this, $key)) {
$this->{$key} = $value;
}
}
}
}