<?php

namespace App\Modules\CashMovement\Infraestructure\Validators;

class CashMovementUpdate
{
    public const UPDATE = [
        'Id_CashMovement'               => 'required|int',
        'CashMovement_Name'             => 'required|string|max:100',
        'CashMovement_LastName'         => 'string|max:100',
        'CashMovement_Email'            => 'string|max:250',
        'CashMovement_Country'          => 'string|max:100',
        'CashMovement_City'             => 'string|max:100',
        'CashMovement_Address'          => 'string|max:250',
        'CashMovement_CardIssuer'       => 'required|string|max:50',
        'CashMovement_Remark'           => 'string',
        'Id_TypePayment'                => 'required|int'
    ];

    public const CASH_UPDATE = [
        'CashMovement_ReceiptNumber'    => 'required|string|max:100',
    ];

    public const BASIC_UPDATE = [
        'CashMovement_ReceiptNumber'    => 'required|string|max:100',
    ];

    public const CARD_UPDATE = [
        'CashMovement_CardNumber'       => 'required|string|max:20',
    ];
}
