<?php

namespace App\Modules\Lead\Infraestructure;

class LeadValidators
{

    public const INSERT = [
        'Lead_Name'         => 'required|string|max:100',
        'Lead_LastName'     => 'required|string|max:100',
        'Lead_Gender'       => 'required|int',
        'Lead_Email'        => 'required|string|max:250',
        'Lead_PhoneCode'    => 'required|string|max:4',
        'Lead_Phone'        => 'required|string|max:20',
        'Lead_NoDocument'   => 'required|string|max:50',
        'Lead_Address'      => 'required|string|max:250',
        'Lead_ContactName'  => 'required|string|max:250',
        'Lead_ContactPhone' => 'required|string|max:20',
        'Lead_Type'         => 'required|int',
        'Lead_Status'       => 'required|int',
        'Id_TypeDocument'   => 'required|int',
        'Id_UserCountry'    => 'required|int',
    ];

    public const UPDATE = [
        'Id_Lead'           => 'required|int',
        'Lead_Name'         => 'required|string|max:100',
        'Lead_LastName'     => 'required|string|max:100',
        'Lead_Gender'       => 'required|int',
        'Lead_Email'        => 'required|string|max:250',
        'Lead_PhoneCode'    => 'required|string|max:4',
        'Lead_Phone'        => 'required|string|max:20',
        'Lead_NoDocument'   => 'required|string|max:50',
        'Lead_Address'      => 'required|string|max:250',
        'Lead_ContactName'  => 'required|string|max:250',
        'Lead_ContactPhone' => 'required|string|max:20',
        'Lead_Type'         => 'required|int',
        'Lead_Status'       => 'required|int',
        'Id_TypeDocument'   => 'required|int',
        'Id_UserCountry'    => 'required|int',
    ];
}
