10 lines
242 B
PHP
10 lines
242 B
PHP
<?php
|
|
namespace app\models;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class User extends Model {
|
|
protected $table = 'user';
|
|
protected $fillable = ['username', 'email', 'password_hash', 'role'];
|
|
protected $dates = ['deleted at'];
|
|
}
|