add model

This commit is contained in:
Taylor Otwell 2020-04-21 12:41:27 -05:00
parent b9af2b2294
commit 5f6f5c929b
1 changed files with 8 additions and 0 deletions

View File

@ -2,11 +2,19 @@
namespace Database\Factories; namespace Database\Factories;
use App\User;
use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str; use Illuminate\Support\Str;
class UserFactory extends Factory class UserFactory extends Factory
{ {
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = User::class;
/** /**
* Define the model's default state. * Define the model's default state.
* *