1<?php
2
3// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
4// See the LICENCE file in the repository root for full licence text.
5
6declare(strict_types=1);
7
8namespace Database\Factories;
9
10use App\Models\Beatmap;
11use App\Models\BeatmapOwner;
12use App\Models\User;
13
14class BeatmapOwnerFactory extends Factory
15{
16 protected $model = BeatmapOwner::class;
17
18 public function definition(): array
19 {
20 return [
21 'beatmap_id' => Beatmap::factory(),
22 'user_id' => User::factory(),
23 ];
24 }
25}