<?php

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

class RoomInsertDTO
{

    public static function validateData()
    {
        return [
            'Room_RequestDateStart' => 'required|string|date', // yyyy-MM-dd HH:mm:ss
            'Id_TypeRoom' => 'required|int',
            'Id_BookingExtra' => 'required|int',
            'Room_Observation' => 'string|max:500'
        ];
    }

    public function __construct(
        public string $Room_RequestDateStart,
        public int $Id_TypeRoom,
        public int $Id_BookingExtra,
        public ?string $Room_Observation
    ) {
        $this->Room_Observation = $Room_Observation ?? '';
    }
}
