98 lines
2.6 KiB
PHP
98 lines
2.6 KiB
PHP
<?php
|
|
|
|
namespace Database\Seeders\Base;
|
|
|
|
use App\Models\Administracao\Modulo as Model;
|
|
use SeederUtil;
|
|
|
|
class Modulo
|
|
{
|
|
public static function run()
|
|
{
|
|
$modulos = [
|
|
[
|
|
'identificador' => 'administracao',
|
|
'nome' => 'Administração',
|
|
],
|
|
[
|
|
'identificador' => 'cadastro',
|
|
'nome' => 'Cadastro',
|
|
],
|
|
[
|
|
'identificador' => 'painel-senha',
|
|
'nome' => 'Painel de senha',
|
|
],
|
|
[
|
|
'identificador' => 'pronto-atendimento',
|
|
'nome' => 'Pronto atendimento',
|
|
],
|
|
[
|
|
'identificador' => 'parametrizacao',
|
|
'nome' => 'Parametrização',
|
|
],
|
|
[
|
|
'identificador' => 'bpa',
|
|
'nome' => 'BPA',
|
|
],
|
|
[
|
|
'identificador' => 'raas',
|
|
'nome' => 'RAAS',
|
|
],
|
|
[
|
|
'identificador' => 'apac',
|
|
'nome' => 'APAC',
|
|
],
|
|
[
|
|
'identificador' => 'exame-laboratorial',
|
|
'nome' => 'Exame laboratorial',
|
|
],
|
|
[
|
|
'identificador' => 'exame-imagem',
|
|
'nome' => 'Exame de imagem',
|
|
],
|
|
[
|
|
'identificador' => 'farmacia',
|
|
'nome' => 'Farmácia',
|
|
],
|
|
[
|
|
'identificador' => 'almoxarifado',
|
|
'nome' => 'Almoxarifado',
|
|
],
|
|
[
|
|
'identificador' => 'imunizacao',
|
|
'nome' => 'Imunização',
|
|
],
|
|
[
|
|
'identificador' => 'transporte-paciente',
|
|
'nome' => 'Transporte de paciente',
|
|
],
|
|
[
|
|
'identificador' => 'ambulatorio',
|
|
'nome' => 'Ambulatório',
|
|
],
|
|
[
|
|
'identificador' => 'atencao-basica',
|
|
'nome' => 'Atenção básica',
|
|
],
|
|
[
|
|
'identificador' => 'integracao',
|
|
'nome' => 'Integração',
|
|
],
|
|
[
|
|
'identificador' => 'regulacao',
|
|
'nome' => 'Regulação',
|
|
],
|
|
[
|
|
'identificador' => 'web-service',
|
|
'nome' => 'Web service',
|
|
],
|
|
[
|
|
'identificador' => 'manutencao',
|
|
'nome' => 'Manutenção',
|
|
]
|
|
];
|
|
|
|
SeederUtil::saveList(Model::class, $modulos, 'identificador');
|
|
}
|
|
}
|