database/factories/HelperFactory.php
/**
     * Define the model's default state.
     *
     * @return array
     */
Define the model's default state.
@return array
Define the model ' s default state . @return array
public function definition()
    {
        return [
            'id_dad' => $this->faker->numberBetween(1, 20),
            'id_son' => $this->faker->numberBetween(21, 40)
        ];
    }
public function definition ( ) { return [ 'id_dad' => $ this -> faker -> numberBetween ( 1 , 20 ) , 'id_son' => $ this -> faker -> numberBetween ( 21 , 40 ) ] ; }
Define the model's default state.
Define the model ' s default state .