<?php

namespace App\Modules\Package\Infraestructure;

class PackageValidators
{

    public const INSERT = [
        'Package_Name'              => 'required|string|max:250',
        'Package_Code'              => 'required|string|max:250',
        'Package_UrlThumbnail'      => 'string|max:500',
        'Package_Availability'      => 'required|int',
        'Package_PaxRequired'       => 'required|int',
        'Package_DOBRequired'       => 'required|int',
        'Package_Type'              => 'required|int',
        'Package_Status'            => 'required|int',
        'Package_Endorser'          => 'required|int',
        'Package_Duration'          => 'required|int',
    ];

    public const UPDATE = [
        'Id_Package'                => 'required|int',
        'Package_Name'              => 'required|string|max:250',
        'Package_Code'              => 'required|string|max:250',
        'Package_UrlThumbnail'      => 'string|max:500',
        'Package_Availability'      => 'required|int',
        'Package_PaxRequired'       => 'required|int',
        'Package_DOBRequired'       => 'required|int',
        'Package_Type'              => 'required|int',
        'Package_Status'            => 'required|int',
        'Package_Endorser'          => 'required|int',
        'Package_Duration'          => 'required|int',
    ];

    public const INDEX_BY_ID = [
        'Id_Package'          => 'required|int',
        'Id_Language'         => 'required|int',
        'Months'              => 'required',
    ];
}
