mirror of
https://github.com/sp-tarkov/forge.git
synced 2025-02-12 12:10:41 -05:00
26 lines
505 B
PHP
26 lines
505 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\License;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
use Illuminate\Support\Carbon;
|
|
|
|
/**
|
|
* @extends Factory<License>
|
|
*/
|
|
class LicenseFactory extends Factory
|
|
{
|
|
protected $model = License::class;
|
|
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'name' => fake()->name(),
|
|
'link' => fake()->url(),
|
|
'created_at' => Carbon::now(),
|
|
'updated_at' => Carbon::now(),
|
|
];
|
|
}
|
|
}
|