This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Cadastro\Material\Apresentacao as Model;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class Apresentacao_20240506080420 extends Seeder
|
||||
{
|
||||
public function run()
|
||||
{
|
||||
$apresentacoes = [
|
||||
['id' => '1', 'nome' => 'Ampola', 'sigla' => 'ampola'],
|
||||
['id' => '2', 'nome' => 'Bisnaga', 'sigla' => 'bs'],
|
||||
['id' => '3', 'nome' => 'Bobina', 'sigla' => 'bo'],
|
||||
['id' => '4', 'nome' => 'Caixa', 'sigla' => 'cx'],
|
||||
['id' => '5', 'nome' => 'Cartela', 'sigla' => 'cr'],
|
||||
['id' => '6', 'nome' => 'Frasco', 'sigla' => 'fr'],
|
||||
['id' => '7', 'nome' => 'Galão', 'sigla' => 'gl'],
|
||||
['id' => '8', 'nome' => 'Não definido', 'sigla' => 'nd'],
|
||||
['id' => '9', 'nome' => 'Pacote', 'sigla' => 'pct'],
|
||||
['id' => '10', 'nome' => 'Tubo', 'sigla' => 'tb'],
|
||||
['id' => '11', 'nome' => 'Seringa', 'sigla' => 'seringa'],
|
||||
['id' => '12', 'nome' => 'Unidade', 'sigla' => 'un'],
|
||||
];
|
||||
|
||||
SeederUtil::saveList(Model::class, $apresentacoes, 'id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user