mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
12 lines
250 B
PHP
12 lines
250 B
PHP
<?php
|
|
|
|
use App\Models\Player;
|
|
|
|
$factory->define(Player::class, function (Faker\Generator $faker) {
|
|
return [
|
|
'uid' => factory(App\Models\User::class)->create()->uid,
|
|
'name' => $faker->firstName,
|
|
'tid_skin' => 0,
|
|
];
|
|
});
|