<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class OdooError extends Model
{
    protected $table = 'odoo_errores';

    public $timestamps = false;

    protected $fillable = [
        'endpoint',
        'modelo',
        'metodo',
        'mensaje',
        'codigo',
        'request'
    ];

    protected $casts = [
        'request' => 'array',
    ];
}