mirror of
https://github.com/zoe-may/TDoG-Skin.git
synced 2024-11-24 13:52:19 +08:00
22 lines
401 B
PHP
Executable File
22 lines
401 B
PHP
Executable File
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\Player;
|
|
use App\Models\User;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class PlayerFactory extends Factory
|
|
{
|
|
protected $model = Player::class;
|
|
|
|
public function definition()
|
|
{
|
|
return [
|
|
'uid' => User::factory(),
|
|
'name' => $this->faker->firstName,
|
|
'tid_skin' => 0,
|
|
];
|
|
}
|
|
}
|