File tree 4 files changed +8
-3
lines changed
4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 6
6
use Illuminate \Foundation \Auth \User as Authenticatable ;
7
7
use Illuminate \Notifications \Notifiable ;
8
8
use App \Notifications \AdminResetPasswordNotification ;
9
+ use Illuminate \Database \Eloquent \Factories \HasFactory ;
9
10
10
11
class Admin extends Authenticatable
11
12
{
12
- use Notifiable;
13
+ use HasFactory, Notifiable;
13
14
14
15
protected $ guard = 'admin ' ;
15
16
Original file line number Diff line number Diff line change 6
6
use illuminate \Support \Str ;
7
7
use Gloudemans \Shoppingcart \Contracts \Buyable ;
8
8
use Gloudemans \Shoppingcart \Facades \Cart ;
9
+ use Illuminate \Database \Eloquent \Factories \HasFactory ;
9
10
use Nicolaslopezj \Searchable \SearchableTrait ;
10
11
11
12
class Product extends Model implements Buyable
12
13
{
13
- use SearchableTrait;
14
+ use HasFactory, SearchableTrait;
14
15
/**
15
16
* The attributes that are mass assignable.
16
17
*
Original file line number Diff line number Diff line change 2
2
3
3
namespace App ;
4
4
5
+ use Illuminate \Database \Eloquent \Factories \HasFactory ;
5
6
use Illuminate \Database \Eloquent \Model ;
6
7
7
8
class Rating extends Model
8
9
{
10
+ use HasFactory;
9
11
protected $ guarded = [];
10
12
11
13
protected $ casts = [
Original file line number Diff line number Diff line change 2
2
3
3
namespace App ;
4
4
5
+ use Illuminate \Database \Eloquent \Factories \HasFactory ;
5
6
use Illuminate \Foundation \Auth \User as Authenticatable ;
6
7
use Illuminate \Notifications \Notifiable ;
7
8
8
9
class User extends Authenticatable
9
10
{
10
- use Notifiable;
11
+ use HasFactory, Notifiable;
11
12
12
13
/**
13
14
* The attributes that are mass assignable.
You can’t perform that action at this time.
0 commit comments