feat: add the admin controller and update the model

This commit is contained in:
2026-08-19 15:33:55 +03:30
parent 88df60a154
commit d863e463cb
3 changed files with 59 additions and 1 deletions
+2 -1
View File
@@ -9,7 +9,7 @@ namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Database\Eloquent\SoftDeletes;
/**
* Class Admin
*
@@ -26,6 +26,7 @@ use Illuminate\Foundation\Auth\User as Authenticatable;
*/
class Admin extends Authenticatable
{
use SoftDeletes;
protected $table = 'admins';
protected $hidden = [