23 lines
537 B
PHP
23 lines
537 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\Label;
|
|
use App\Models\SongArrangement;
|
|
use App\Models\SongArrangementLabel;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class SongArrangementLabelFactory extends Factory
|
|
{
|
|
protected $model = SongArrangementLabel::class;
|
|
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'song_arrangement_id' => SongArrangement::factory(),
|
|
'label_id' => Label::factory(),
|
|
'order' => $this->faker->numberBetween(0, 10),
|
|
];
|
|
}
|
|
}
|