25 lines
550 B
PHP
25 lines
550 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\LocationTransaction>
|
|
*/
|
|
class LocationTransactionFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'room_code' => $this->faker->buildingNumber(),
|
|
'timestamp_located_since' => $this->faker->unixTime()
|
|
];
|
|
}
|
|
}
|