<?php


namespace App\Validations;


class RacaValidation
{
    static public function register () : array {
        return [
            "nome" => [
                'label' => 'Nome',
                'rules' => 'required',
            ],
            "id_especie" => [
                'label' => 'Especie',
                'rules' => 'required',
            ],
        ];
    }
    static public function update () : array {
        return [
            "nome" => [
                'label' => 'Nome',
                'rules' => 'trim|required',
            ],
            "id_especie" => [
                'label' => 'Especie',
                'rules' => 'required',
            ],
        ];
    }
}