mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-02-11 22:19:47 -06:00
61 lines
3.0 KiB
PHP
61 lines
3.0 KiB
PHP
<?php
|
|
|
|
/* @var \Illuminate\Database\Eloquent\Factory $factory */
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\User;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class UserPrivacyFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'user_id' => fn () => User::factory()->create()->id,
|
|
'show_achievement' => $this->faker->boolean(),
|
|
'show_bon' => $this->faker->boolean(),
|
|
'show_comment' => $this->faker->boolean(),
|
|
'show_download' => $this->faker->boolean(),
|
|
'show_follower' => $this->faker->boolean(),
|
|
'show_online' => $this->faker->boolean(),
|
|
'show_peer' => $this->faker->boolean(),
|
|
'show_post' => $this->faker->boolean(),
|
|
'show_profile' => $this->faker->boolean(),
|
|
'show_profile_about' => $this->faker->boolean(),
|
|
'show_profile_achievement' => $this->faker->boolean(),
|
|
'show_profile_badge' => $this->faker->boolean(),
|
|
'show_profile_follower' => $this->faker->boolean(),
|
|
'show_profile_title' => $this->faker->boolean(),
|
|
'show_profile_bon_extra' => $this->faker->boolean(),
|
|
'show_profile_comment_extra' => $this->faker->boolean(),
|
|
'show_profile_forum_extra' => $this->faker->boolean(),
|
|
'show_profile_request_extra' => $this->faker->boolean(),
|
|
'show_profile_torrent_count' => $this->faker->boolean(),
|
|
'show_profile_torrent_extra' => $this->faker->boolean(),
|
|
'show_profile_torrent_ratio' => $this->faker->boolean(),
|
|
'show_profile_torrent_seed' => $this->faker->boolean(),
|
|
'show_profile_warning' => $this->faker->boolean(),
|
|
'show_rank' => $this->faker->boolean(),
|
|
'show_requested' => $this->faker->boolean(),
|
|
'show_topic' => $this->faker->boolean(),
|
|
'show_upload' => $this->faker->boolean(),
|
|
'show_wishlist' => $this->faker->boolean(),
|
|
'json_profile_groups' => $this->faker->word(),
|
|
'json_torrent_groups' => $this->faker->word(),
|
|
'json_forum_groups' => $this->faker->word(),
|
|
'json_bon_groups' => $this->faker->word(),
|
|
'json_comment_groups' => $this->faker->word(),
|
|
'json_wishlist_groups' => $this->faker->word(),
|
|
'json_follower_groups' => $this->faker->word(),
|
|
'json_achievement_groups' => $this->faker->word(),
|
|
'json_rank_groups' => $this->faker->word(),
|
|
'json_request_groups' => $this->faker->word(),
|
|
'json_other_groups' => $this->faker->word(),
|
|
];
|
|
}
|
|
}
|