<?php

namespace App\Http\Controllers\Owner\Report\Booking\Dto;

use App\Modules\WebContactMessage\Domain\WebContactMessageDateBy;

class ReportBookingTourByDayDTO
{

    public static function validateData()
    {
        return [
            'DateStart' => 'required|string|date',
            'DateEnd' => 'required|string|date',
            'Type' => 'required|in:Tour,Package',
            'Id' => 'required|int',
            'ShowBy' => 'required|in:Day,Year',
            'GroupBy' => 'required|in:Sale,Passenger',
        ];
    }

    public function __construct(
        public string $DateStart,
        public string $DateEnd,
        public string $Type,
        public int $Id,
        public string $ShowBy,
        public string $GroupBy,
    ) {}
}
