Files
luos/database/factories/ProcessCategoryFactory.php

29 lines
567 B
PHP
Raw Permalink Normal View History

2019-05-02 12:46:53 -04:00
<?php
2021-07-08 09:40:57 -04:00
namespace Database\Factories;
2021-07-08 09:40:57 -04:00
use App\Factories\Factory;
use G;
use Illuminate\Support\Str;
2019-05-02 12:46:53 -04:00
class ProcessCategoryFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'CATEGORY_UID' => G::generateUniqueID(),
'CATEGORY_ID' => $this->faker->unique()->numberBetween(1000),
'CATEGORY_PARENT' => '',
'CATEGORY_NAME' => $this->faker->sentence(5),
'CATEGORY_ICON' => '',
];
}
}