<?php

namespace App\Http\Controllers\Owner\PaxInformationRoom\Dto;

use App\Modules\PaxInformationRoom\Domain\PaxInformationRoomStatus;

class PaxInformationRoomUpdateDTO
{

    public static function validateData()
    {
        return [
            'Id_PaxInformationRoom' => 'required|int',
            // 'PaxInformationRoom_Version' => 'required|int',
            'PaxInformationRoom_Status' => 'required|in:' . implode(',', PaxInformationRoomStatus::validValues()),
            'Id_TypeRoom' => 'required|int',
        ];
    }

    public function __construct(
        public string $Id_PaxInformationRoom,
        // public string $PaxInformationRoom_Version,
        public int $PaxInformationRoom_Status,
        public int $Id_TypeRoom
    ) {}
}
