dbmsv4/app/DTOs/MylogDTO.php
2025-11-18 16:54:55 +09:00

23 lines
437 B
PHP

<?php
namespace App\DTOs;
class MylogDTO extends CommonDTO
{
public ?int $uid = null;
public ?int $user_uid = null;
public ?string $title = null;
public ?string $content = 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;
}
}
}
}