feat: add admin panel layout, dashboard, and user management
This commit is contained in:
@@ -8,12 +8,12 @@ namespace App\Models;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Foundation\Auth\User;
|
||||
|
||||
/**
|
||||
* Class Admin
|
||||
*
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $first_name
|
||||
* @property string $last_name
|
||||
@@ -28,13 +28,13 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
* @property Carbon $created_at
|
||||
* @property Carbon $updated_at
|
||||
* @property string|null $deleted_at
|
||||
*
|
||||
*
|
||||
* @property File|null $file
|
||||
* @property Collection|Comment[] $comments
|
||||
*
|
||||
* @package App\Models
|
||||
*/
|
||||
class Admin extends Model
|
||||
class Admin extends User
|
||||
{
|
||||
use SoftDeletes;
|
||||
protected $table = 'admins';
|
||||
|
||||
Reference in New Issue
Block a user