database/factories/StudentFactory.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,
        'surname' => $this->faker->word,
        'email' => $this->faker->word,
        'phone' => $this->faker->word,
        'deleted_at' => $this->faker->date('Y-m-d H:i:s'),
        'created_at' => $this->faker->date('Y-m-d H:i:s'),
        'updated_at' => $this->faker->date('Y-m-d H:i:s')
        ];
    }
public function definition ( ) { return [ 'name' => $ this -> faker -> word , 'surname' => $ this -> faker -> word , 'email' => $ this -> faker -> word , 'phone' => $ this -> faker -> word , 'deleted_at' => $ this -> faker -> date ( 'Y-m-d H:i:s' ) , 'created_at' => $ this -> faker -> date ( 'Y-m-d H:i:s' ) , 'updated_at' => $ this -> faker -> date ( 'Y-m-d H:i:s' ) ] ; }
Define the model's default state.
Define the model ' s default state .