dbmsv4/app/DTOs/Customer/PointDTO.php
2025-11-18 18:06:17 +09:00

27 lines
540 B
PHP

<?php
namespace App\DTOs\Customer;
use App\DTOs\CommonDTO;
class PointDTO extends CommonDTO
{
public ?int $uid = null;
public ?int $user_uid = null;
public ?int $clientinfo_uid = null;
public ?string $title = null;
public ?int $amount = null;
public ?string $status = null;
public ?string $content = null;
public function __construct(array $datas = [])
{
parent::__construct();
foreach ($datas as $key => $value) {
if (property_exists($this, $key)) {
$this->{$key} = $value;
}
}
}
}