<?php


namespace App\Validations;


class PerfilValidation
{
    static public function register () : array {
        return [
            "descricao" => [
                'label' => 'Descricao do perfil',
                'rules' => 'trim|required',
            ],
            "permissao" => [
                'label' => 'Permissao',
                'rules' => 'required',
            ],
        ];
    }

    static public function update (int $id_paciente) : array {
        return [
            "descricao" => [
                'label' => 'Descricao do perfil',
                'rules' => 'trim|required',
            ],
            "permissao" => [
                'label' => 'Permissao',
                'rules' => 'required',
            ],
        ];
    }
}