topnotch_website/database/factories/HeatTransferEntryFactory.php

29 lines
788 B
PHP
Raw Normal View History

2025-02-01 09:57:57 -08:00
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\HeatTransferEntry>
*/
class HeatTransferEntryFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition(): array
{
return [
2025-02-12 13:32:39 -05:00
'quantity' => $this->faker->numberBetween(1, 10),
'placement' => $this->faker->words(2, true),
'logo' => $this->faker->words(2, true),
'width' => $this->faker->randomFloat(2, 1, 5),
'height' => $this->faker->randomFloat(2, 1, 5),
'price' => $this->faker->randomFloat(2, 1, 10),
2025-02-01 09:57:57 -08:00
];
}
}