<?php

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

class ReportBookingBySellerDTO
{

    public static function validateData()
    {
        return [
            'DateStart' => 'required|string|date',
            'DateEnd' => 'required|string|date',
            'ShowBy' => 'required|in:Month,Year',
            'GroupBy' => 'required|in:Sale,Passenger',
            'Admin' => 'required|array',
            'Admin.*' => 'int',
        ];
    }

    public function __construct(
        public string $DateStart,
        public string $DateEnd,
        public string $ShowBy,
        public string $GroupBy,
        public array $Admin
    ) {}
}
