软删除

This commit is contained in:
赵世界 2024-09-18 15:41:46 +08:00
parent 0a01cd95bd
commit 3f1f724cdd

View File

@ -2,6 +2,7 @@
namespace App\Models;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Illuminate\Support\Facades\Hash;
@ -11,6 +12,7 @@ class User extends Authenticatable
{
use Notifiable;
use HasRoles;
use SoftDeletes;
/**
* The attributes that are mass assignable.