This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Imunizacao\Estrategia;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class Estrategia_20240506094040 extends Seeder
|
||||
{
|
||||
public function run()
|
||||
{
|
||||
$estrategias = [
|
||||
['id' => 1, 'nome' => 'ROTINA'],
|
||||
['id' => 2, 'nome' => 'ESPECIAL'],
|
||||
['id' => 3, 'nome' => 'BLOQUEIO'],
|
||||
['id' => 4, 'nome' => 'INTENSIFICAÇÃO'],
|
||||
['id' => 5, 'nome' => 'CAMPANHA INDISCRIMINADA'],
|
||||
['id' => 6, 'nome' => 'CAMPANHA SELETIVA'],
|
||||
['id' => 7, 'nome' => 'SOROTERAPIA'],
|
||||
['id' => 8, 'nome' => 'SERVIÇO PRIVADO'],
|
||||
['id' => 9, 'nome' => 'MONITORAMENTO RÁPIDO DE COBERTURA VACINAL'],
|
||||
['id' => 10, 'nome' => 'PESQUISA'],
|
||||
];
|
||||
|
||||
SeederUtil::saveList(Estrategia::class, $estrategias, 'id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user