init commit
All checks were successful
build-api-image / build (push) Successful in 51s

This commit is contained in:
Antonio Lopes dos Santos
2026-08-04 16:52:02 -03:00
commit afec302c3e
11594 changed files with 1636728 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<?php
namespace Database\Factories\AtencaoBasica;
use App\Models\AtencaoBasica\SusComplemento;
use Illuminate\Database\Eloquent\Factories\Factory;
class SusComplementoFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = SusComplemento::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'codigo_usuario_sus' => $this->faker->randomNumber(),
'nome_usuario' => $this->faker->name(),
'numero_cns' => '157337885170001',
'numero_prontuario' => $this->faker->randomNumber(8),
'data_nascimento' => $this->faker->date(),
'nome_mae' => $this->faker->name('female')
];
}
}

View File

@@ -0,0 +1,28 @@
<?php
namespace Database\Factories\Cadastro\Localizacao;
use App\Models\Cadastro\Localizacao\Bairro;
use Illuminate\Database\Eloquent\Factories\Factory;
class BairroFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Bairro::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'nome' => $this->faker->city(),
];
}
}

View File

@@ -0,0 +1,32 @@
<?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,
];
}
}