<?php


namespace App\Validations;


class SetorValidation
{
    static public function register () : array {
        return [
            "descricao" => [
                'label' => 'Descricao',
                'rules' => 'trim|required'
            ],
            "id_centro_custo" => [
                'label' => 'Centro de custo',
                'rules' => 'trim|required'
            ],
        ];
    }

    static public function update () : array {
        return [
            "descricao" => [
                'label' => 'Descricao',
                'rules' => 'trim|required'
            ],
            "id_centro_custo" => [
                'label' => 'Centro de custo',
                'rules' => 'trim|required'
            ],
        ];
    }
}