init commit
All checks were successful
build-api-image / build (push) Successful in 51s

This commit is contained in:
Antonio Lopes dos Santos
2026-08-04 16:52:02 -03:00
commit afec302c3e
11594 changed files with 1636728 additions and 0 deletions

View File

@@ -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');
}
}