database/factories/CardFactory.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 [
            'name' => $this->faker->word(),
            'desk_list_id' => $this->faker->numberBetween($min = 1, $max = 50),
        ];
    }
public function definition ( ) { return [ 'name' => $ this -> faker -> word ( ) , 'desk_list_id' => $ this -> faker -> numberBetween ( $ min = 1 , $ max = 50 ) , ] ; }
Define the model's default state.
Define the model ' s default state .