<?php

namespace App\Modules\PaxInformation\Infraestructure\Validators;

class PaxInformationValidators
{

    public const INSERT = [
        'PaxInformation_DateExpire'     => 'required|string|date',
        'PaxInformation_Description'    => 'required|string|max:250',
        'PaxInformation_Remaining'      => 'required|int',
        'Id_Booking'                    => 'required|int',
        'PaxInformation_Passenger'      => 'required|string',
    ];

    public const PAX_INFORMATION_PASSENGER = [
        'PaxInformation_Passenger.*.Id_Passenger'   => 'required|int',
    ];

    public const UPDATE = [
        'Id_PaxInformation'             => 'required|int',
        'PaxInformation_DateExpire'     => 'required|string|date',
        'PaxInformation_Description'    => 'required|string|max:250',
    ];
}
