mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-27 22:49:41 -08:00
18 lines
381 B
PHP
18 lines
381 B
PHP
|
<?php
|
||
|
|
||
|
|
||
|
$factory->define(App\Models\CustomField::class, function (Faker\Generator $faker) {
|
||
|
return [
|
||
|
'name' => $faker->catchPhrase,
|
||
|
'format' => 'IP',
|
||
|
'element' => 'text',
|
||
|
];
|
||
|
});
|
||
|
|
||
|
$factory->define(App\Models\CustomFieldset::class, function (Faker\Generator $faker) {
|
||
|
return [
|
||
|
'name' => $faker->catchPhrase,
|
||
|
'user_id' => Auth::id()
|
||
|
];
|
||
|
});
|