2020-04-15 02:33:51 -04:00
|
|
|
<?php
|
|
|
|
|
|
2022-07-21 00:04:21 -04:00
|
|
|
namespace Database\Factories;
|
2020-04-15 02:33:51 -04:00
|
|
|
|
2022-07-21 00:04:21 -04:00
|
|
|
use App\Factories\Factory;
|
|
|
|
|
use Illuminate\Support\Str;
|
|
|
|
|
|
|
|
|
|
class LicenseManagerFactory extends Factory
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Define the model's default state.
|
|
|
|
|
*
|
|
|
|
|
* @return array
|
|
|
|
|
*/
|
|
|
|
|
public function definition()
|
|
|
|
|
{
|
|
|
|
|
return [
|
|
|
|
|
"LICENSE_UID" => $this->faker->regexify("/[a-zA-Z]{32}/"),
|
|
|
|
|
"LICENSE_USER" => $this->faker->name,
|
|
|
|
|
"LICENSE_START" => 0,
|
|
|
|
|
"LICENSE_END" => 0,
|
|
|
|
|
"LICENSE_SPAN" => 0,
|
|
|
|
|
"LICENSE_STATUS" => 'ACTIVE',
|
|
|
|
|
"LICENSE_DATA" => '',
|
|
|
|
|
"LICENSE_PATH" => '',
|
|
|
|
|
"LICENSE_WORKSPACE" => '',
|
|
|
|
|
"LICENSE_TYPE" => 'ONPREMISE'
|
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|