<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;

class Isp extends Model
{
    protected $fillable = ['client_id','provider_name','package','bandwidth','ip_address','account_number','support_contact','is_active'];
    protected $casts    = ['is_active'=>'boolean'];

    public function client()    { return $this->belongsTo(Client::class); }
    public function incidents() { return $this->hasMany(IspIncident::class); }
}
