database/factories/LienTypeFactory.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_formation'=>$this->faker->numberBetween(1,50),
            'id_type'=>$this->faker->numberBetween(1,8)
        ];
    }
public function definition ( ) { return [ 'id_formation' => $ this -> faker -> numberBetween ( 1 , 50 ) , 'id_type' => $ this -> faker -> numberBetween ( 1 , 8 ) ] ; }
Define the model's default state.
Define the model ' s default state .