<?php
// ═══════════════════════════════════════════════════════
// ALL MODELS — SaaS Accounting
// Each model in its own namespace-safe class
// ═══════════════════════════════════════════════════════

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;

// ── SuperAdmin ────────────────────────────────────────────────────────────────
class SuperAdmin extends Authenticatable
{
    use HasFactory, Notifiable;
    protected $guard = 'super_admin';
    protected $fillable = ['name','email','password','avatar','is_active'];
    protected $hidden   = ['password','remember_token'];
    protected $casts    = ['is_active' => 'boolean', 'last_login_at' => 'datetime'];
}
