<?php

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

class BookingTourChangeDetailDTO
{

  public static function validateData()
  {
    return [
      'BookingTour_Value' => 'required|array',

      'BookingTour_Value.*.Id_Tour' => 'required|int',
      'BookingTour_Value.*.BookingTour_DateStart' => 'required|string|date',
      'BookingTour_Value.*.Tour_Availability' => 'required|int',
      'BookingTour_Value.*.Tour_Name' => 'required|string',
      'BookingTour_Value.*.Tour_Code' => 'required|string',
      'BookingTour_Value.*.Tour_AvailabilityStatus' => 'required|int',
      'BookingTour_Value.*.Id_BookingTour' => 'required|int',
      'BookingTour_Value.*.Id_PackageTour' => 'required|int',
      'BookingTour_Value.*.PackageRate_Type' => 'required|int',
    ];
  }

  public function __construct(
    public object $BookingTour_Value
  ) {}
}
