This commit is contained in:
19
api/database/seeders/cadastro/2024_05_03_133047_servico.php
Normal file
19
api/database/seeders/cadastro/2024_05_03_133047_servico.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Cadastro\Estabelecimento\Servico as Model;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class Servico_20240503133047 extends Seeder
|
||||
{
|
||||
public function run()
|
||||
{
|
||||
$servicos = [
|
||||
['id' => 1, 'nome' => 'ENFERMAGEM'],
|
||||
['id' => 2, 'nome' => 'CONSULTA MÉDICA'],
|
||||
['id' => 3, 'nome' => 'EXAME RAIO X'],
|
||||
['id' => 4, 'nome' => 'NÃO SE APLICA'],
|
||||
];
|
||||
|
||||
SeederUtil::saveList(Model::class, $servicos, 'id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user