34 lines
840 B
PHP
34 lines
840 B
PHP
<?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')
|
|
];
|
|
}
|
|
}
|