<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class RemoteClient extends Model
{
    protected $connection = 'tienda_remota';

    protected $table = 'clients';

    protected $primaryKey = 'id';

    public $incrementing = true;

    protected $keyType = 'int';

    public $timestamps = false;

    protected $guarded = [];

    public function save(array $options = []): bool
    {
        throw new \LogicException('RemoteClient es de solo lectura (tienda_remota).');
    }

    public function delete(): bool
    {
        throw new \LogicException('RemoteClient es de solo lectura (tienda_remota).');
    }
}
