2021-04-07 06:32:42 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
|
|
|
|
|
|
class DocumentTypeSeeder extends Seeder
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Run the database seeds.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
public function run()
|
|
|
|
|
{
|
|
|
|
|
DB::table('document_types')->insert([
|
2021-04-09 10:42:08 -04:00
|
|
|
['id' => 'BC', 'name' => 'Отчет'],
|
|
|
|
|
['id' => 'CV', 'name' => 'Приказ'],
|
|
|
|
|
['id' => 'HD', 'name' => 'Интрукция'],
|
|
|
|
|
['id' => 'KH', 'name' => 'Справка'],
|
|
|
|
|
['id' => 'NQ', 'name' => 'Положение'],
|
|
|
|
|
['id' => 'ND', 'name' => 'Заявление'],
|
|
|
|
|
['id' => 'QD', 'name' => 'Договор'],
|
2021-04-07 06:32:42 -04:00
|
|
|
]);
|
|
|
|
|
}
|
|
|
|
|
}
|