adrema/database/factories/Payment/StatusFactory.php

29 lines
539 B
PHP
Raw Normal View History

2022-02-12 14:41:46 +01:00
<?php
namespace Database\Factories\Payment;
use App\Payment\Status;
use Illuminate\Database\Eloquent\Factories\Factory;
2023-02-17 18:57:11 +01:00
/**
* @extends Factory<Status>
*/
2022-02-12 14:41:46 +01:00
class StatusFactory extends Factory
{
public $model = Status::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'name' => $this->faker->sentence,
'is_bill' => $this->faker->boolean,
'is_remember' => $this->faker->boolean,
];
}
}