Files
rkm-conectasus-ci-sandbox/api/database/factories/TransportePaciente/ViagemFactory.php
Antonio Lopes dos Santos afec302c3e
All checks were successful
build-api-image / build (push) Successful in 51s
init commit
2026-08-04 16:52:02 -03:00

33 lines
674 B
PHP

<?php
namespace Database\Factories\TransportePaciente;
use App\Models\TransportePaciente\Viagem;
use Illuminate\Database\Eloquent\Factories\Factory;
class ViagemFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Viagem::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'condutor_id' => 1,
'veiculo_id' => 1,
'data' => $this->faker->dateTimeBetween('-10 year'),
'status_id' => 2,
'destino_id' => 1,
];
}
}